Show / Hide Table of Contents

Class SearchResult

Wraps a search result for display.

Inheritance
object
SearchResult
Implements
INotifyPropertyChanged
IBindableCustomPropertyImplementation
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
[GeneratedBindableCustomProperty]
[WinRTRuntimeClassName("Microsoft.UI.Xaml.Data.INotifyPropertyChanged")]
[WinRTExposedType(typeof(Esri_ArcGISRuntime_Toolkit_UI_Controls_SearchViewModelWinRTTypeDetails))]
public class SearchResult : INotifyPropertyChanged, IBindableCustomPropertyImplementation

Constructors

Name Description
SearchResult(string, string?, ISearchSource, GeoElement?, Viewpoint?)

Initializes a new instance of the SearchResult class.

Properties

Name Description
CalloutDefinition

Gets or sets the CalloutDefinition used to display the result.

DisplaySubtitle

Gets or sets the subtitle that should be shown whenever the result is displayed.

DisplayTitle

Gets or sets the title that should be shown whenever the result is displayed.

GeoElement

Gets or sets the optional GeoElement for the result. This could be a graphic for a locator search, a feature for a feature layer search, or null if there is nothing to display on the map.

MarkerImage

Gets the image displayed for this result.

MarkerImageData

Gets or sets the image displayed for this result, in a format useful for cross-platform scenarios.

MarkerImageSource

Gets the image displayed for this result, in a format useful for UWP.

OwningSource

Gets the search source that created this result.

SelectionViewpoint

Gets or sets the selection viewpoint for the result. Some search sources will return a viewpoint that should be used when a result is selected.

Events

Name Description
PropertyChanged

Occurs when a property value changes.

In this article
Back to top Generated by DocFX