Show / Hide Table of Contents

Class SearchSuggestion

Wraps a search suggestion for display.

Inheritance
Object
SearchSuggestion
Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class SearchSuggestion

Constructors

| Improve this Doc View Source

SearchSuggestion(String, ISearchSource)

Initializes a new instance of the SearchSuggestion class.

Declaration
public SearchSuggestion(string title, ISearchSource owner)
Parameters
Type Name Description
String title

Sets DisplayTitle.

ISearchSource owner

Sets OwningSource.

Properties

| Improve this Doc View Source

DisplaySubtitle

Gets or sets the optional subtitle that may be used when displaying a suggestion.

Declaration
public string DisplaySubtitle { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

DisplayTitle

Gets or sets the title to use when displaying a suggestion.

Declaration
public string DisplayTitle { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

IsCollection

Gets or sets a value indicating whether this result is for a collection (e.g. 'Coffee Shops') or a single result (e.g. 'Starbucks on Grand').

Declaration
public bool IsCollection { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

OwningSource

Gets the ISearchSource that created this result.

Declaration
public ISearchSource OwningSource { get; }
Property Value
Type Description
ISearchSource
| Improve this Doc View Source

UnderlyingObject

Gets or sets any underlying object for the suggestion.

Declaration
public object UnderlyingObject { get; set; }
Property Value
Type Description
Object
Remarks

This is helpful in cases where an underlying suggestion object is useful when completing a search. For example, when using a locator, the underlying should be used when accepting the suggestion for a search.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX