ButtonHandler クラス

定義

public ref class ButtonHandler : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::IButton ^, System::Object ^>, Microsoft::Maui::Handlers::IButtonHandler
public class ButtonHandler : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.IButton,object>, Microsoft.Maui.Handlers.IButtonHandler
type ButtonHandler = class
    inherit ViewHandler<IButton, obj>
    interface IButtonHandler
    interface IViewHandler
    interface IElementHandler
Public Class ButtonHandler
Inherits ViewHandler(Of IButton, Object)
Implements IButtonHandler
継承
実装

コンストラクター

ButtonHandler()
ButtonHandler(IPropertyMapper)
ButtonHandler(IPropertyMapper, CommandMapper)

フィールド

CommandMapper
ImageButtonMapper
Mapper
TextButtonMapper

プロパティ

ContainerView

のコンテナーとして機能するビューを取得します PlatformView

(継承元 ViewHandler)
HasContainer

がビュー内に含まれているかどうかを示す値を PlatformView 取得または設定します。

(継承元 ViewHandler)
ImageSourceLoader
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(IButtonHandler, ITextStyle)
MapCornerRadius(IButtonHandler, IButtonStroke)
MapFont(IButtonHandler, ITextStyle)
MapImageSource(IButtonHandler, IImage)
MapPadding(IButtonHandler, IButton)
MapStrokeColor(IButtonHandler, IButtonStroke)
MapStrokeThickness(IButtonHandler, IButtonStroke)
MapText(IButtonHandler, IText)
MapTextColor(IButtonHandler, ITextStyle)
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)

明示的なインターフェイスの実装

IButtonHandler.PlatformView
IButtonHandler.VirtualView
IElementHandler.DisconnectHandler() (継承元 ElementHandler)
IElementHandler.PlatformView (継承元 ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (継承元 ViewHandler<TVirtualView,TPlatformView>)
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)

適用対象