Bagikan melalui


PropertyMapper<TVirtualView,TViewHandler> Kelas

Definisi

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)

Jenis parameter

TVirtualView
TViewHandler
Warisan
PropertyMapper<TVirtualView,TViewHandler>
Turunan
Penerapan

Konstruktor

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

Bidang

_mapper (Diperoleh dari PropertyMapper)

Properti

Chained (Diperoleh dari PropertyMapper)
Item[String]
UpdateKeys (Diperoleh dari PropertyMapper)

Metode

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

Metode Ekstensi

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

Tentukan metode yang akan dijalankan setelah pemetaan properti yang ada.

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

Ubah pemetaan properti di tempat.

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

Tentukan metode yang akan dijalankan sebelum pemetaan properti yang ada.

Berlaku untuk