Class SearchSuggestion
Wraps a search suggestion for display.
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
public class SearchSuggestion
Constructors
| Improve this Doc View SourceSearchSuggestion(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 SourceDisplaySubtitle
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 |
DisplayTitle
Gets or sets the title to use when displaying a suggestion.
Declaration
public string DisplayTitle { get; set; }
Property Value
Type | Description |
---|---|
String |
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 |
OwningSource
Gets the ISearchSource that created this result.
Declaration
public ISearchSource OwningSource { get; }
Property Value
Type | Description |
---|---|
ISearchSource |
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