SwitchHandler クラス

定義

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

コンストラクター

SwitchHandler()
SwitchHandler(IPropertyMapper)
SwitchHandler(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)
MapIsOn(ISwitchHandler, ISwitch)
MapThumbColor(ISwitchHandler, ISwitch)
MapTrackColor(ISwitchHandler, ISwitch)
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>)
ISwitchHandler.PlatformView
ISwitchHandler.VirtualView
IViewHandler.ContainerView (継承元 ViewHandler)
IViewHandler.VirtualView (継承元 ViewHandler<TVirtualView,TPlatformView>)

適用対象