SearchBarHandler Class

Definition

public ref class SearchBarHandler : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::ISearchBar ^, System::Object ^>, Microsoft::Maui::Handlers::ISearchBarHandler
public class SearchBarHandler : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.ISearchBar,object>, Microsoft.Maui.Handlers.ISearchBarHandler
type SearchBarHandler = class
    inherit ViewHandler<ISearchBar, obj>
    interface ISearchBarHandler
    interface IViewHandler
    interface IElementHandler
Public Class SearchBarHandler
Inherits ViewHandler(Of ISearchBar, Object)
Implements ISearchBarHandler
Inheritance
Implements

Constructors

SearchBarHandler()
SearchBarHandler(IPropertyMapper, CommandMapper)
SearchBarHandler(IPropertyMapper)

Fields

CommandMapper
Mapper

Properties

ContainerView

Gets the view that acts as a container for the PlatformView.

(Inherited from ViewHandler)
HasContainer

Gets or sets a value that indicates whether the PlatformView is contained within a view.

(Inherited from ViewHandler)
MauiContext (Inherited from ElementHandler)
NeedsContainer

Gets a value that indicates whether or not the VirtualView needs a container view.

(Inherited from ViewHandler)
PlatformView (Inherited from ViewHandler<TVirtualView,TPlatformView>)
QueryEditor
Services (Inherited from ElementHandler)
VirtualView (Inherited from ViewHandler<TVirtualView,TPlatformView>)

Methods

ConnectHandler(TPlatformView) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Inherited from ElementHandler)
MapBackground(ISearchBarHandler, ISearchBar)
MapCancelButtonColor(IViewHandler, ISearchBar)
MapCharacterSpacing(IViewHandler, ISearchBar)
MapFont(IViewHandler, ISearchBar)
MapHorizontalTextAlignment(IViewHandler, ISearchBar)
MapIsEnabled(ISearchBarHandler, ISearchBar)
MapIsReadOnly(IViewHandler, ISearchBar)
MapIsSpellCheckEnabled(IViewHandler, ISearchBar)

Maps the abstract IsSpellCheckEnabled property to the platform-specific implementations.

MapIsTextPredictionEnabled(IViewHandler, ISearchBar)

Maps the abstract IsTextPredictionEnabled property to the platform-specific implementations.

MapKeyboard(IViewHandler, ISearchBar)
MapMaxLength(IViewHandler, ISearchBar)
MapPlaceholder(IViewHandler, ISearchBar)
MapPlaceholderColor(IViewHandler, ISearchBar)
MapText(IViewHandler, ISearchBar)
MapTextColor(IViewHandler, ISearchBar)
MapVerticalTextAlignment(IViewHandler, ISearchBar)
PlatformArrange(Rect) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
RemoveContainer() (Inherited from ViewHandler<TVirtualView,TPlatformView>)
SetMauiContext(IMauiContext) (Inherited from ElementHandler)
SetupContainer() (Inherited from ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IElement) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IView) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
UpdateValue(String) (Inherited from ElementHandler)

Explicit Interface Implementations

IElementHandler.DisconnectHandler() (Inherited from ElementHandler)
IElementHandler.PlatformView (Inherited from ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Inherited from ViewHandler<TVirtualView,TPlatformView>)
ISearchBarHandler.PlatformView
ISearchBarHandler.VirtualView
IViewHandler.ContainerView (Inherited from ViewHandler)
IViewHandler.VirtualView (Inherited from ViewHandler<TVirtualView,TPlatformView>)

Extension Methods

GetRequiredService<T>(IElementHandler, Type)
GetRequiredService<T>(IElementHandler)
GetService<T>(IElementHandler, Type)
GetService<T>(IElementHandler)
GetServiceProvider(IElementHandler)
IsConnected(IElementHandler)

Applies to