Поделиться через


LabelHandler Класс

Определение

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
Наследование
Реализации

Конструкторы

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

Поля

CommandMapper
Mapper

Свойства

ContainerView

Возвращает представление, которое выступает в качестве контейнера для PlatformView.

(Унаследовано от ViewHandler)
HasContainer

Возвращает или задает значение, указывающее, содержится ли PlatformView объект в представлении.

(Унаследовано от ViewHandler)
MauiContext (Унаследовано от ElementHandler)
NeedsContainer

Возвращает значение, указывающее, требуется ли представлению VirtualView контейнера.

(Унаследовано от ViewHandler)
PlatformView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
Services (Унаследовано от ElementHandler)
VirtualView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)

Методы

ConnectHandler(TPlatformView) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Унаследовано от 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) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
RemoveContainer() (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
SetMauiContext(IMauiContext) (Унаследовано от ElementHandler)
SetupContainer() (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IElement) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IView) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
UpdateValue(String) (Унаследовано от ElementHandler)

Явные реализации интерфейса

IElementHandler.DisconnectHandler() (Унаследовано от ElementHandler)
IElementHandler.PlatformView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
ILabelHandler.PlatformView
ILabelHandler.VirtualView
IViewHandler.ContainerView (Унаследовано от ViewHandler)
IViewHandler.VirtualView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)

Методы расширения

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

Применяется к