PropertyMapper<TVirtualView,TViewHandler> 类

定义

generic <typename TVirtualView, typename TViewHandler>
 where TVirtualView : IElement where TViewHandler : IElementHandlerpublic ref class PropertyMapper : Microsoft::Maui::PropertyMapper, Microsoft::Maui::IPropertyMapper<TVirtualView, TViewHandler>
public class PropertyMapper<TVirtualView,TViewHandler> : Microsoft.Maui.PropertyMapper, Microsoft.Maui.IPropertyMapper<TVirtualView,TViewHandler> where TVirtualView : IElement where TViewHandler : IElementHandler
type PropertyMapper<'VirtualView, 'ViewHandler (requires 'VirtualView :> IElement and 'ViewHandler :> IElementHandler)> = class
    inherit PropertyMapper
    interface IPropertyMapper<'VirtualView, 'ViewHandler (requires 'VirtualView :> IElement and 'ViewHandler :> IElementHandler)>
    interface IPropertyMapper
Public Class PropertyMapper(Of TVirtualView, TViewHandler)
Inherits PropertyMapper
Implements IPropertyMapper(Of TVirtualView, TViewHandler)

类型参数

TVirtualView
TViewHandler
继承
PropertyMapper<TVirtualView,TViewHandler>
派生
实现

构造函数

PropertyMapper<TVirtualView,TViewHandler>()
PropertyMapper<TVirtualView,TViewHandler>(IPropertyMapper[])

字段

_mapper (继承自 PropertyMapper)

属性

Chained (继承自 PropertyMapper)
Item[String]
UpdateKeys (继承自 PropertyMapper)

方法

Add(String, Action<TViewHandler,TVirtualView>)
ClearKeyCache() (继承自 PropertyMapper)
GetKeys() (继承自 PropertyMapper)
GetProperty(String) (继承自 PropertyMapper)
SetPropertyCore(String, Action<IElementHandler,IElement>) (继承自 PropertyMapper)
UpdateProperties(IElementHandler, IElement) (继承自 PropertyMapper)
UpdateProperty(IElementHandler, IElement, String) (继承自 PropertyMapper)
UpdatePropertyCore(String, IElementHandler, IElement) (继承自 PropertyMapper)

扩展方法

AppendToMapping<TVirtualView,TViewHandler>(IPropertyMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView>)

指定要在现有属性映射后运行的方法。

ModifyMapping<TVirtualView,TViewHandler>(IPropertyMapper<TVirtualView, TViewHandler>, String, Action<TViewHandler,TVirtualView,Action<IElementHandler, IElement>>)

就地修改属性映射。

PrependToMapping<TVirtualView,TViewHandler>(IPropertyMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView>)

指定要在现有属性映射之前运行的方法。

适用于