Partager via


LabelHandler Classe

Définition

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
Héritage
Implémente

Constructeurs

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

Champs

CommandMapper
Mapper

Propriétés

ContainerView

Obtient la vue qui fait office de conteneur pour .PlatformView

(Hérité de ViewHandler)
HasContainer

Obtient ou définit une valeur qui indique si le PlatformView est contenu dans une vue.

(Hérité de ViewHandler)
MauiContext (Hérité de ElementHandler)
NeedsContainer

Obtient une valeur qui indique si le a besoin ou non d’une VirtualView vue conteneur.

(Hérité de ViewHandler)
PlatformView (Hérité de ViewHandler<TVirtualView,TPlatformView>)
Services (Hérité de ElementHandler)
VirtualView (Hérité de ViewHandler<TVirtualView,TPlatformView>)

Méthodes

ConnectHandler(TPlatformView) (Hérité de ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Hérité de ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Hérité de ViewHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Hérité 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) (Hérité de ViewHandler<TVirtualView,TPlatformView>)
RemoveContainer() (Hérité de ViewHandler<TVirtualView,TPlatformView>)
SetMauiContext(IMauiContext) (Hérité de ElementHandler)
SetupContainer() (Hérité de ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IElement) (Hérité de ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IView) (Hérité de ViewHandler<TVirtualView,TPlatformView>)
UpdateValue(String) (Hérité de ElementHandler)

Implémentations d’interfaces explicites

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

Méthodes d’extension

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

S’applique à