Sdílet prostřednictvím


ImageButtonHandler Třída

Definice

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
Dědičnost
Implementuje

Konstruktory

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

Pole

CommandMapper
ImageMapper
Mapper

Vlastnosti

ContainerView

Získá zobrazení, které funguje jako kontejner pro PlatformView.

(Zděděno od ViewHandler)
HasContainer

Získá nebo nastaví hodnotu, která označuje, zda PlatformView je obsažena v zobrazení.

(Zděděno od ViewHandler)
MauiContext (Zděděno od ElementHandler)
NeedsContainer

Získá hodnotu, která označuje, zda VirtualView potřebuje zobrazení kontejneru.

(Zděděno od ViewHandler)
PlatformView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
Services (Zděděno od ElementHandler)
SourceLoader
VirtualView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)

Metody

ConnectHandler(TPlatformView) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Zděděno od ElementHandler)
MapCornerRadius(IImageButtonHandler, IButtonStroke)
MapPadding(IImageButtonHandler, IImageButton)
MapStrokeColor(IImageButtonHandler, IButtonStroke)
MapStrokeThickness(IImageButtonHandler, IButtonStroke)
PlatformArrange(Rect) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
RemoveContainer() (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
SetMauiContext(IMauiContext) (Zděděno od ElementHandler)
SetupContainer() (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IElement) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IView) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
UpdateValue(String) (Zděděno od ElementHandler)

Explicitní implementace rozhraní

IElementHandler.DisconnectHandler() (Zděděno od ElementHandler)
IElementHandler.PlatformView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
IImageButtonHandler.PlatformView
IImageButtonHandler.VirtualView
IImageHandler.PlatformView
IImageHandler.SourceLoader
IImageHandler.VirtualView
IViewHandler.ContainerView (Zděděno od ViewHandler)
IViewHandler.VirtualView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)

Metody rozšíření

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

Platí pro