ViewHandler.ViewCommandMapper 字段

定义

一个字典,用于将虚拟视图命令映射到其平台视图对应项。

public: static Microsoft::Maui::CommandMapper<Microsoft::Maui::IView ^, Microsoft::Maui::IViewHandler ^> ^ ViewCommandMapper;
public static Microsoft.Maui.CommandMapper<Microsoft.Maui.IView,Microsoft.Maui.IViewHandler> ViewCommandMapper;
 staticval mutable ViewCommandMapper : Microsoft.Maui.CommandMapper<Microsoft.Maui.IView, Microsoft.Maui.IViewHandler>
Public Shared ViewCommandMapper As CommandMapper(Of IView, IViewHandler) 

字段值

注解

该概念或命令映射器与属性映射器非常相似,另外,可以使用命令映射器以参数的形式提供额外数据。

适用于