共用方式為


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>)

指定要在現有屬性對應之前執行的方法。

適用於