SearchHandler Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Default implementation of ISearchHandlerController.
public ref class SearchHandler : Microsoft::Maui::Controls::BindableObject, Microsoft::Maui::Controls::Internals::IFontElement, Microsoft::Maui::Controls::ISearchHandlerController
public class SearchHandler : Microsoft.Maui.Controls.BindableObject, Microsoft.Maui.Controls.Internals.IFontElement, Microsoft.Maui.Controls.ISearchHandlerController
type SearchHandler = class
inherit BindableObject
interface ISearchHandlerController
interface IFontElement
Public Class SearchHandler
Inherits BindableObject
Implements IFontElement, ISearchHandlerController
- Inheritance
- Implements
Constructors
| SearchHandler() |
Fields
Properties
| AutomationId | |
| BackgroundColor | |
| BindingContext |
Gets or sets object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. (Inherited from BindableObject) |
| CancelButtonColor | |
| CharacterSpacing | |
| ClearIcon |
The icon displayed to clear the contents of the search box. |
| ClearIconHelpText |
The accessible help text for the clear icon. |
| ClearIconName |
The name of the clear icon for use with screen readers. |
| ClearPlaceholderCommand |
ICommand executed when the ClearPlaceholderIcon is tapped. |
| ClearPlaceholderCommandParameter |
The parameter passed to the ClearPlaceholderCommand. |
| ClearPlaceholderEnabled |
Whether the ClearPlaceholderCommand can be executed. |
| ClearPlaceholderHelpText |
The accessible help text for the ClearPlaceholderIcon. |
| ClearPlaceholderIcon |
The clear placeholder icon displayed when the search box is empty. |
| ClearPlaceholderName |
The name of the clear placeholder icon for use with screen readers. |
| Command |
Gets or sets the ICommand executed when the search query is confirmed. |
| CommandParameter |
Gets or sets the parameter of the Command, which is executed when the search query is confirmed. |
| Dispatcher | (Inherited from BindableObject) |
| DisplayMemberName |
The name or path of the property that is displayed for each item of data in the ItemsSource collection. |
| FontAttributes | |
| FontAutoScalingEnabled | |
| FontFamily | |
| FontSize | |
| HorizontalTextAlignment | |
| IsFocused | |
| IsSearchEnabled |
Gets or sets whether the search box is enabled. |
| ItemsSource |
The collection of items to be displayed in the suggestion area. Default is |
| ItemTemplate |
The DataTemplate to apply to each item in ItemsSource. |
| Keyboard | |
| Placeholder |
The text to display when the search box is empty. |
| PlaceholderColor | |
| Query |
Gets or sets the text of the search box. |
| QueryIcon |
The icon used to indicate that search is available. |
| QueryIconHelpText |
The accessible help text for the QueryIcon. |
| QueryIconName |
The name of the QueryIcon for use with screen readers. |
| SearchBoxVisibility |
Gets or sets whether the search box is visible. |
| SelectedItem | |
| ShowsResults |
Gets or sets whether search results should be expected in the suggestion area on text entry. |
| TextColor | |
| TextTransform | |
| VerticalTextAlignment | |
Methods
Events
| BindingContextChanged | (Inherited from BindableObject) |
| FocusChangeRequested | |
| Focused | |
| PropertyChanged | (Inherited from BindableObject) |
| PropertyChanging | (Inherited from BindableObject) |
| Unfocused | |