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


ImageButtonHandler Класс

Определение

public ref class ImageButtonHandler : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::IImageButton ^, System::Object ^>, Microsoft::Maui::Handlers::IImageButtonHandler
public class ImageButtonHandler : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.IImageButton,object>, Microsoft.Maui.Handlers.IImageButtonHandler
type ImageButtonHandler = class
    inherit ViewHandler<IImageButton, obj>
    interface IImageButtonHandler
    interface IImageHandler
    interface IViewHandler
    interface IElementHandler
Public Class ImageButtonHandler
Inherits ViewHandler(Of IImageButton, Object)
Implements IImageButtonHandler
Наследование
Реализации

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

ImageButtonHandler()
ImageButtonHandler(IPropertyMapper)
ImageButtonHandler(IPropertyMapper, CommandMapper)

Поля

CommandMapper
ImageMapper
Mapper

Свойства

ContainerView

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

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

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

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

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

(Унаследовано от ViewHandler)
PlatformView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
Services (Унаследовано от ElementHandler)
SourceLoader
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)
MapCornerRadius(IImageButtonHandler, IButtonStroke)
MapPadding(IImageButtonHandler, IImageButton)
MapStrokeColor(IImageButtonHandler, IButtonStroke)
MapStrokeThickness(IImageButtonHandler, IButtonStroke)
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>)
IImageButtonHandler.PlatformView
IImageButtonHandler.VirtualView
IImageHandler.PlatformView
IImageHandler.SourceLoader
IImageHandler.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)

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