Class SearchView
View for searching with locators or custom search sources.
Implements
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
[TemplatePart(Name = "PART_SuggestionList", Type = typeof(ListView))]
[GeneratedBindableCustomProperty]
[WinRTRuntimeClassName("Microsoft.UI.Xaml.IUIElementOverrides")]
[WinRTExposedType(typeof(Esri_ArcGISRuntime_Toolkit_UI_Controls_LayerLegendWinRTTypeDetails))]
public class SearchView : Control, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<Control>, IBindableCustomPropertyImplementation
Constructors
| Name | Description |
|---|---|
| SearchView() | Initializes a new instance of the SearchView class. |
Fields
Properties
| Name | Description |
|---|---|
| AllSourceSelectText | Gets or sets the text to display for the button used to select all search sources. |
| ClearSearchTooltipText | Gets or sets the tooltip text to display for the clear/cancel search button. |
| EnableDefaultWorldGeocoder | Gets or sets a value indicating whether SearchViewModel will include the Esri World Geocoder service by default. |
| 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. |
| 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. |
| EnableResultListView | Gets or sets a value indicating whether the default result list view will be shown. |
| GeoView | Gets or sets the GeoView associated with this view. |
| GroupedSuggestions | Gets the grouped list of suggestions. |
| IsSourceSelectOpen | Gets or sets a value indicating whether the source selection view is being displayed. |
| MultipleResultZoomBuffer | Gets or sets the buffer used when zooming to a set of results. |
| NoResultMessage | Gets or sets a message to show when a search completes with no results. |
| RepeatSearchButtonText | Gets or sets the text to display in the 'Repeat Search' button. |
| SearchTooltipText | Gets or sets the tooltip text to display for the search button. |
| SearchViewModel | Gets or sets the viewmodel that implements core search behavior. |
| SelectedSuggestion | Gets or sets the selected suggestion, triggering a search. |
| TemplateSettings | SearchViewTemplateSettings provides a set of properties that are used when you define a new control template for a control that derives from SearchView. |
Methods
| Name | Description |
|---|---|
| OnApplyTemplate() | Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class. |