Show / Hide Table of Contents

Class SearchResult

Wraps a search result for display.

Inheritance
Object
SearchResult
Implements
INotifyPropertyChanged
Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class SearchResult : INotifyPropertyChanged

Constructors

| Improve this Doc View Source

SearchResult(String, String, ISearchSource, Nullable<GeoElement>, Nullable<Viewpoint>)

Initializes a new instance of the SearchResult class.

Declaration
public SearchResult(string title, string subtitle, ISearchSource owner, GeoElement? geoElement, Viewpoint? viewpoint)
Parameters
Type Name Description
String title

Sets the DisplayTitle.

String subtitle

Sets the DisplaySubtitle.

ISearchSource owner

Sets the OwningSource.

Nullable<GeoElement> geoElement

Sets the GeoElement.

Nullable<Viewpoint> viewpoint

Sets the SelectionViewpoint.

Properties

| Improve this Doc View Source

CalloutDefinition

Gets or sets the CalloutDefinition used to display the result.

Declaration
public CalloutDefinition? CalloutDefinition { get; set; }
Property Value
Type Description
Nullable<CalloutDefinition>
| Improve this Doc View Source

DisplaySubtitle

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

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

DisplayTitle

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

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

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.

Declaration
public GeoElement? GeoElement { get; set; }
Property Value
Type Description
Nullable<GeoElement>
| Improve this Doc View Source

MarkerImage

Gets the image displayed for this result.

Declaration
public RuntimeImage? MarkerImage { get; }
Property Value
Type Description
Nullable<RuntimeImage>
| Improve this Doc View Source

MarkerImageData

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

Declaration
public byte[] MarkerImageData { get; set; }
Property Value
Type Description
Byte[]
| Improve this Doc View Source

OwningSource

Gets the search source that created this result.

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

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.

Declaration
public Viewpoint? SelectionViewpoint { get; set; }
Property Value
Type Description
Nullable<Viewpoint>

Events

| Improve this Doc View Source

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
PropertyChangedEventHandler

Implements

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