Condividi tramite


IPropertyMapper<TVirtualView,TViewHandler> Interface

Definition

generic <typename TVirtualView, typename TViewHandler>
 where TVirtualView : IElement where TViewHandler : IElementHandlerpublic interface class IPropertyMapper : Microsoft::Maui::IPropertyMapper
public interface IPropertyMapper<out TVirtualView,out TViewHandler> : Microsoft.Maui.IPropertyMapper where TVirtualView : IElement where TViewHandler : IElementHandler
type IPropertyMapper<'VirtualView, 'ViewHandler (requires 'VirtualView :> IElement and 'ViewHandler :> IElementHandler)> = interface
    interface IPropertyMapper
Public Interface IPropertyMapper(Of Out TVirtualView, Out TViewHandler)
Implements IPropertyMapper

Type Parameters

TVirtualView
This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
TViewHandler
This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived
Implements

Methods

Add(String, Action<TViewHandler,TVirtualView>)
GetKeys() (Inherited from IPropertyMapper)
GetProperty(String) (Inherited from IPropertyMapper)
UpdateProperties(IElementHandler, IElement) (Inherited from IPropertyMapper)
UpdateProperty(IElementHandler, IElement, String) (Inherited from IPropertyMapper)

Extension Methods

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

Specify a method to be run after an existing property mapping.

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

Modify a property mapping in place.

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

Specify a method to be run before an existing property mapping.

Applies to