Partager via


TypedBinding<TSource,TProperty> Constructeur

Définition

public:
 TypedBinding(Func<TSource, ValueTuple<TProperty, bool>> ^ getter, Action<TSource, TProperty> ^ setter, cli::array <Tuple<Func<TSource, System::Object ^> ^, System::String ^> ^> ^ handlers);
public TypedBinding (Func<TSource,(TProperty value, bool success)> getter, Action<TSource,TProperty> setter, Tuple<Func<TSource,object>,string>[] handlers);
new Microsoft.Maui.Controls.Internals.TypedBinding<'Source, 'Property> : Func<'Source, ValueTuple<'Property, bool>> * Action<'Source, 'Property> * Func<'Source, obj> * string[] -> Microsoft.Maui.Controls.Internals.TypedBinding<'Source, 'Property>
Public Sub New (getter As Func(Of TSource, ValueTuple(Of TProperty, Boolean)), setter As Action(Of TSource, TProperty), handlers As Tuple(Of Func(Of TSource, Object), String)())

Paramètres

getter
Func<TSource,ValueTuple<TProperty,Boolean>>
setter
Action<TSource,TProperty>
handlers
Tuple<Func<TSource,Object>,String>[]

S’applique à