共用方式為


ViewHandler<TVirtualView,TPlatformView> Constructor

Definition

protected ViewHandler (Microsoft.Maui.IPropertyMapper mapper, Microsoft.Maui.CommandMapper? commandMapper = default);
new Microsoft.Maui.Handlers.ViewHandler<'VirtualView, 'PlatformView (requires 'VirtualView : null and 'VirtualView :> Microsoft.Maui.IView and 'PlatformView : null)> : Microsoft.Maui.IPropertyMapper * Microsoft.Maui.CommandMapper -> Microsoft.Maui.Handlers.ViewHandler<'VirtualView, 'PlatformView (requires 'VirtualView : null and 'VirtualView :> Microsoft.Maui.IView and 'PlatformView : null)>
Protected Sub New (mapper As IPropertyMapper, Optional commandMapper As CommandMapper = Nothing)

Parameters

commandMapper
CommandMapper

Applies to