Show / Hide Table of Contents

Class SearchView

View for searching with locators and custom search sources.

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

Constructors

| Improve this Doc View Source

SearchView()

Initializes a new instance of the SearchView class.

Declaration
public SearchView()

Fields

| Improve this Doc View Source

AllSourcesSelectTextProperty

Identifies the AllSourcesSelectText bindable property.

Declaration
public static readonly BindableProperty AllSourcesSelectTextProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

EnableDefaultWorldGeocoderProperty

Identifies the EnableDefaultWorldGeocoder bindable property.

Declaration
public static readonly BindableProperty EnableDefaultWorldGeocoderProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

EnableIndividualResultDisplayProperty

Identifies the EnableIndividualResultDisplay bindable property.

Declaration
public static readonly BindableProperty EnableIndividualResultDisplayProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

EnableRepeatSearchHereButtonProperty

Identifies the EnableRepeatSearchHereButton bindable proeprty.

Declaration
public static readonly BindableProperty EnableRepeatSearchHereButtonProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

EnableResultListViewProperty

Identifies the EnableResultListView bindable property.

Declaration
public static readonly BindableProperty EnableResultListViewProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

GeoViewProperty

Identifies the GeoView bindable property.

Declaration
public static readonly BindableProperty GeoViewProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

MultipleResultZoomBufferProperty

Identifies the MultipleResultZoomBuffer bindable property.

Declaration
public static readonly BindableProperty MultipleResultZoomBufferProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

NoResultMessageProperty

Identifies the NoResultMessage bindable property.

Declaration
public static readonly BindableProperty NoResultMessageProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

RepeatSearchButtonTextProperty

Identifies the RepeatSearchButtonText bindable property.

Declaration
public static readonly BindableProperty RepeatSearchButtonTextProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

ResultTemplateProperty

Identifies the ResultTemplate bindable property.

Declaration
public static readonly BindableProperty ResultTemplateProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

SearchViewModelProperty

Identifies the SearchViewModel bindable property.

Declaration
public static readonly BindableProperty SearchViewModelProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

SuggestionGroupHeaderTemplateProperty

Identifies the SuggestionGroupHeaderTemplate bindable property.

Declaration
public static readonly BindableProperty SuggestionGroupHeaderTemplateProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

SuggestionTemplateProperty

Identifies the SuggestionTemplate bindable property.

Declaration
public static readonly BindableProperty SuggestionTemplateProperty
Field Value
Type Description
BindableProperty

Properties

| Improve this Doc View Source

AllSourcesSelectText

Gets or sets the text to show in the button for selecting all search sources.

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

ClearCommand

Gets a command that clears the current search.

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

EnableDefaultWorldGeocoder

Gets or sets a value indicating whether SearchViewModel will include the Esri World Geocoder service by default.

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

EnableIndividualResultDisplay

Gets or sets a value indicating whether the view will show the selected result. If false, the result list is hidden automatically when a result is selected.

Declaration
public bool EnableIndividualResultDisplay { get; set; }
Property Value
Type Description
Boolean
Remarks

See SelectedResult to display custom UI for the selected result.

| Improve this Doc View Source

EnableRepeatSearchHereButton

Gets or sets a value indicating whether a 'Repeat Search' button will be displayed when the user pans the map a sufficient amount after a search completes.

Declaration
public bool EnableRepeatSearchHereButton { get; set; }
Property Value
Type Description
Boolean
Remarks

Some consumer applications will display this button in a separate area of the UI from the search bar, often centered over the map. This property is intended to allow hiding the default button if using a custom 'Repeat Search' implementation. See RepeatSearchHere() and IsEligibleForRequery to enable a custom button implementation.

| Improve this Doc View Source

EnableResultListView

Gets or sets a value indicating whether the default result list view will be shown.

Declaration
public bool EnableResultListView { get; set; }
Property Value
Type Description
Boolean
Remarks

Set this value to false to enable a custom list presentation.

| Improve this Doc View Source

GeoView

Gets or sets the GeoView associated with this view.

Declaration
public GeoView? GeoView { get; set; }
Property Value
Type Description
Nullable<GeoView>
Remarks

If set, SearchView will add a graphics overlay for showing results, and will automatically navigate to show search results.

| Improve this Doc View Source

MultipleResultZoomBuffer

Gets or sets the buffer used when zooming to a set of results.

Declaration
public double MultipleResultZoomBuffer { get; set; }
Property Value
Type Description
Double
| Improve this Doc View Source

NoResultMessage

Gets or sets a message to show when a search completes with no results.

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

RepeatSearchButtonText

Gets or sets the text to show in the 'Repeat search' button.

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

RepeatSearchHereCommand

Gets a command that repeats the last search with new geometry.

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

ResultTemplate

Gets or sets the template used to display results.

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

SearchCommand

Gets a command that starts a search with current parameters.

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

SearchViewModel

Gets or sets the viewmodel that implements core search behavior.

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

SuggestionGroupHeaderTemplate

Gets or sets the template used to display the header that groups suggestion results by source.

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

SuggestionTemplate

Gets or sets the template used to display suggestions.

Declaration
public DataTemplate? SuggestionTemplate { get; set; }
Property Value
Type Description
Nullable<DataTemplate>

Methods

| Improve this Doc View Source

OnApplyTemplate()

Declaration
protected override void OnApplyTemplate()

Implements

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