Compartilhar via


LabelHandler Classe

Definição

public ref class LabelHandler : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::ILabel ^, System::Object ^>, Microsoft::Maui::Handlers::ILabelHandler
public class LabelHandler : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.ILabel,object>, Microsoft.Maui.Handlers.ILabelHandler
type LabelHandler = class
    inherit ViewHandler<ILabel, obj>
    interface ILabelHandler
    interface IViewHandler
    interface IElementHandler
Public Class LabelHandler
Inherits ViewHandler(Of ILabel, Object)
Implements ILabelHandler
Herança
Implementações

Construtores

LabelHandler()
LabelHandler(IPropertyMapper)
LabelHandler(IPropertyMapper, CommandMapper)

Campos

CommandMapper
Mapper

Propriedades

ContainerView

Obtém a exibição que atua como um contêiner para o PlatformView.

(Herdado de ViewHandler)
HasContainer

Obtém ou define um valor que indica se o PlatformView está contido em uma exibição.

(Herdado de ViewHandler)
MauiContext (Herdado de ElementHandler)
NeedsContainer

Obtém um valor que indica se o precisa ou não de VirtualView uma exibição de contêiner.

(Herdado de ViewHandler)
PlatformView (Herdado de ViewHandler<TVirtualView,TPlatformView>)
Services (Herdado de ElementHandler)
VirtualView (Herdado de ViewHandler<TVirtualView,TPlatformView>)

Métodos

ConnectHandler(TPlatformView) (Herdado de ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Herdado de ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Herdado de ViewHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Herdado de ElementHandler)
MapCharacterSpacing(ILabelHandler, ILabel)
MapFont(ILabelHandler, ILabel)
MapHorizontalTextAlignment(ILabelHandler, ILabel)
MapLineHeight(ILabelHandler, ILabel)
MapMaxLines(ILabelHandler, ILabel)
MapPadding(ILabelHandler, ILabel)
MapText(ILabelHandler, ILabel)
MapTextColor(ILabelHandler, ILabel)
MapTextDecorations(ILabelHandler, ILabel)
MapVerticalTextAlignment(ILabelHandler, ILabel)
PlatformArrange(Rect) (Herdado de ViewHandler<TVirtualView,TPlatformView>)
RemoveContainer() (Herdado de ViewHandler<TVirtualView,TPlatformView>)
SetMauiContext(IMauiContext) (Herdado de ElementHandler)
SetupContainer() (Herdado de ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IElement) (Herdado de ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IView) (Herdado de ViewHandler<TVirtualView,TPlatformView>)
UpdateValue(String) (Herdado de ElementHandler)

Implantações explícitas de interface

IElementHandler.DisconnectHandler() (Herdado de ElementHandler)
IElementHandler.PlatformView (Herdado de ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Herdado de ViewHandler<TVirtualView,TPlatformView>)
ILabelHandler.PlatformView
ILabelHandler.VirtualView
IViewHandler.ContainerView (Herdado de ViewHandler)
IViewHandler.VirtualView (Herdado de ViewHandler<TVirtualView,TPlatformView>)

Métodos de Extensão

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

Aplica-se a