Condividi tramite


LabelHandler Classe

Definizione

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
Ereditarietà
Implementazioni

Costruttori

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

Campi

CommandMapper
Mapper

Proprietà

ContainerView

Ottiene la vista che funge da contenitore per l'oggetto PlatformView.

(Ereditato da ViewHandler)
HasContainer

Ottiene o imposta un valore che indica se l'oggetto PlatformView è contenuto all'interno di una visualizzazione.

(Ereditato da ViewHandler)
MauiContext (Ereditato da ElementHandler)
NeedsContainer

Ottiene un valore che indica se è VirtualView necessaria o meno una visualizzazione contenitore.

(Ereditato da ViewHandler)
PlatformView (Ereditato da ViewHandler<TVirtualView,TPlatformView>)
Services (Ereditato da ElementHandler)
VirtualView (Ereditato da ViewHandler<TVirtualView,TPlatformView>)

Metodi

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

Implementazioni dell'interfaccia esplicita

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

Metodi di estensione

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

Si applica a