Sdílet prostřednictvím


EditorHandler Třída

Definice

public ref class EditorHandler : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::IEditor ^, System::Object ^>, Microsoft::Maui::Handlers::IEditorHandler
public class EditorHandler : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.IEditor,object>, Microsoft.Maui.Handlers.IEditorHandler
type EditorHandler = class
    inherit ViewHandler<IEditor, obj>
    interface IEditorHandler
    interface IViewHandler
    interface IElementHandler
Public Class EditorHandler
Inherits ViewHandler(Of IEditor, Object)
Implements IEditorHandler
Dědičnost
Implementuje

Konstruktory

EditorHandler()
EditorHandler(IPropertyMapper)
EditorHandler(IPropertyMapper, CommandMapper)

Pole

CommandMapper
Mapper

Vlastnosti

ContainerView

Získá zobrazení, které funguje jako kontejner pro PlatformView.

(Zděděno od ViewHandler)
HasContainer

Získá nebo nastaví hodnotu, která označuje, zda PlatformView je obsažena v zobrazení.

(Zděděno od ViewHandler)
MauiContext (Zděděno od ElementHandler)
NeedsContainer

Získá hodnotu, která označuje, zda VirtualView potřebuje zobrazení kontejneru.

(Zděděno od ViewHandler)
PlatformView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
Services (Zděděno od ElementHandler)
VirtualView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)

Metody

ConnectHandler(TPlatformView) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Zděděno od ElementHandler)
MapCharacterSpacing(IViewHandler, IEditor)
MapCursorPosition(IEditorHandler, ITextInput)
MapFont(IViewHandler, IEditor)
MapHorizontalTextAlignment(IEditorHandler, IEditor)
MapIsReadOnly(IViewHandler, IEditor)
MapIsSpellCheckEnabled(IEditorHandler, IEditor)

Mapuje abstraktní IsSpellCheckEnabled vlastnost na implementace specifické pro platformu.

MapIsTextPredictionEnabled(IEditorHandler, IEditor)

Mapuje abstraktní IsTextPredictionEnabled vlastnost na implementace specifické pro platformu.

MapKeyboard(IEditorHandler, IEditor)
MapMaxLength(IViewHandler, IEditor)
MapPlaceholder(IViewHandler, IEditor)
MapPlaceholderColor(IViewHandler, IEditor)
MapSelectionLength(IEditorHandler, ITextInput)
MapText(IViewHandler, IEditor)
MapTextColor(IEditorHandler, IEditor)
MapTextColor(IViewHandler, IEditor)
MapVerticalTextAlignment(IEditorHandler, IEditor)
PlatformArrange(Rect) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
RemoveContainer() (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
SetMauiContext(IMauiContext) (Zděděno od ElementHandler)
SetupContainer() (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IElement) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IView) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
UpdateValue(String) (Zděděno od ElementHandler)

Explicitní implementace rozhraní

IEditorHandler.PlatformView
IEditorHandler.VirtualView
IElementHandler.DisconnectHandler() (Zděděno od ElementHandler)
IElementHandler.PlatformView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
IViewHandler.ContainerView (Zděděno od ViewHandler)
IViewHandler.VirtualView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)

Metody rozšíření

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

Platí pro