共用方式為


SwitchHandler Constructors

Definition

Overloads

SwitchHandler()
SwitchHandler(IPropertyMapper)
SwitchHandler(IPropertyMapper, CommandMapper)

SwitchHandler()

Source:
SwitchHandler.cs
Source:
SwitchHandler.cs
public:
 SwitchHandler();
public SwitchHandler ();
Public Sub New ()

Applies to

SwitchHandler(IPropertyMapper)

Source:
SwitchHandler.cs
Source:
SwitchHandler.cs
public:
 SwitchHandler(Microsoft::Maui::IPropertyMapper ^ mapper);
public SwitchHandler (Microsoft.Maui.IPropertyMapper? mapper);
new Microsoft.Maui.Handlers.SwitchHandler : Microsoft.Maui.IPropertyMapper -> Microsoft.Maui.Handlers.SwitchHandler
Public Sub New (mapper As IPropertyMapper)

Parameters

Applies to

SwitchHandler(IPropertyMapper, CommandMapper)

Source:
SwitchHandler.cs
Source:
SwitchHandler.cs
public:
 SwitchHandler(Microsoft::Maui::IPropertyMapper ^ mapper, Microsoft::Maui::CommandMapper ^ commandMapper);
public SwitchHandler (Microsoft.Maui.IPropertyMapper? mapper, Microsoft.Maui.CommandMapper? commandMapper);
new Microsoft.Maui.Handlers.SwitchHandler : Microsoft.Maui.IPropertyMapper * Microsoft.Maui.CommandMapper -> Microsoft.Maui.Handlers.SwitchHandler
Public Sub New (mapper As IPropertyMapper, commandMapper As CommandMapper)

Parameters

commandMapper
CommandMapper

Applies to