Partager via


BindableObjectExtensions.Bind Method

Definition

Overloads

Bind<TBindable,TSource,TDest>(TBindable, String, BindingMode, Func<TSource,TDest>, Func<TDest,TSource>, Object, String, Object, Object, Object)
Bind<TBindable,TSource,TDest>(TBindable, BindableProperty, String, BindingMode, Func<TSource,TDest>, Func<TDest,TSource>, Object, String, Object, Object, Object)
Bind<TBindable,TSource,TParam,TDest>(TBindable, String, BindingMode, Func<TSource,TParam,TDest>, Func<TDest,TParam,TSource>, Object, String, Object, Object, Object)
Bind<TBindable,TSource,TParam,TDest>(TBindable, BindableProperty, String, BindingMode, Func<TSource,TParam,TDest>, Func<TDest, TParam,TSource>, Object, String, Object, Object, Object)
Bind<TBindable>(TBindable, String, BindingMode, IValueConverter, Object, String, Object, Object, Object)
Bind<TBindable>(TBindable, BindableProperty, String, BindingMode, IValueConverter, Object, String, Object, Object, Object)

Bind<TBindable,TSource,TDest>(TBindable, String, BindingMode, Func<TSource,TDest>, Func<TDest,TSource>, Object, String, Object, Object, Object)

public static TBindable Bind<TBindable,TSource,TDest> (this TBindable bindable, string path = ".", Xamarin.Forms.BindingMode mode = Xamarin.Forms.BindingMode.Default, Func<TSource,TDest> convert = default, Func<TDest,TSource> convertBack = default, object converterParameter = default, string stringFormat = default, object source = default, object targetNullValue = default, object fallbackValue = default) where TBindable : Xamarin.Forms.BindableObject;
static member Bind : 'Bindable * string * Xamarin.Forms.BindingMode * Func<'Source, 'Dest> * Func<'Dest, 'Source> * obj * string * obj * obj * obj -> 'Bindable (requires 'Bindable :> Xamarin.Forms.BindableObject)

Type Parameters

TBindable
TSource
TDest

Parameters

bindable
TBindable
path
System.String
convert
System.Func<TSource,TDest>
convertBack
System.Func<TDest,TSource>
converterParameter
System.Object
stringFormat
System.String
source
System.Object
targetNullValue
System.Object
fallbackValue
System.Object

Returns

TBindable

Applies to

Bind<TBindable,TSource,TDest>(TBindable, BindableProperty, String, BindingMode, Func<TSource,TDest>, Func<TDest,TSource>, Object, String, Object, Object, Object)

public static TBindable Bind<TBindable,TSource,TDest> (this TBindable bindable, Xamarin.Forms.BindableProperty targetProperty, string path = ".", Xamarin.Forms.BindingMode mode = Xamarin.Forms.BindingMode.Default, Func<TSource,TDest> convert = default, Func<TDest,TSource> convertBack = default, object converterParameter = default, string stringFormat = default, object source = default, object targetNullValue = default, object fallbackValue = default) where TBindable : Xamarin.Forms.BindableObject;
static member Bind : 'Bindable * Xamarin.Forms.BindableProperty * string * Xamarin.Forms.BindingMode * Func<'Source, 'Dest> * Func<'Dest, 'Source> * obj * string * obj * obj * obj -> 'Bindable (requires 'Bindable :> Xamarin.Forms.BindableObject)

Type Parameters

TBindable
TSource
TDest

Parameters

bindable
TBindable
targetProperty
BindableProperty
path
System.String
convert
System.Func<TSource,TDest>
convertBack
System.Func<TDest,TSource>
converterParameter
System.Object
stringFormat
System.String
source
System.Object
targetNullValue
System.Object
fallbackValue
System.Object

Returns

TBindable

Applies to

Bind<TBindable,TSource,TParam,TDest>(TBindable, String, BindingMode, Func<TSource,TParam,TDest>, Func<TDest,TParam,TSource>, Object, String, Object, Object, Object)

public static TBindable Bind<TBindable,TSource,TParam,TDest> (this TBindable bindable, string path = ".", Xamarin.Forms.BindingMode mode = Xamarin.Forms.BindingMode.Default, Func<TSource,TParam,TDest> convert = default, Func<TDest,TParam,TSource> convertBack = default, object converterParameter = default, string stringFormat = default, object source = default, object targetNullValue = default, object fallbackValue = default) where TBindable : Xamarin.Forms.BindableObject;
static member Bind : 'Bindable * string * Xamarin.Forms.BindingMode * Func<'Source, 'Param, 'Dest> * Func<'Dest, 'Param, 'Source> * obj * string * obj * obj * obj -> 'Bindable (requires 'Bindable :> Xamarin.Forms.BindableObject)

Type Parameters

TBindable
TSource
TParam
TDest

Parameters

bindable
TBindable
path
System.String
convert
System.Func<TSource,TParam,TDest>
convertBack
System.Func<TDest,TParam,TSource>
converterParameter
System.Object
stringFormat
System.String
source
System.Object
targetNullValue
System.Object
fallbackValue
System.Object

Returns

TBindable

Applies to

Bind<TBindable,TSource,TParam,TDest>(TBindable, BindableProperty, String, BindingMode, Func<TSource,TParam,TDest>, Func<TDest, TParam,TSource>, Object, String, Object, Object, Object)

public static TBindable Bind<TBindable,TSource,TParam,TDest> (this TBindable bindable, Xamarin.Forms.BindableProperty targetProperty, string path = ".", Xamarin.Forms.BindingMode mode = Xamarin.Forms.BindingMode.Default, Func<TSource,TParam,TDest> convert = default, Func<TDest,TParam,TSource> convertBack = default, object converterParameter = default, string stringFormat = default, object source = default, object targetNullValue = default, object fallbackValue = default) where TBindable : Xamarin.Forms.BindableObject;
static member Bind : 'Bindable * Xamarin.Forms.BindableProperty * string * Xamarin.Forms.BindingMode * Func<'Source, 'Param, 'Dest> * Func<'Dest, 'Param, 'Source> * obj * string * obj * obj * obj -> 'Bindable (requires 'Bindable :> Xamarin.Forms.BindableObject)

Type Parameters

TBindable
TSource
TParam
TDest

Parameters

bindable
TBindable
targetProperty
BindableProperty
path
System.String
convert
System.Func<TSource,TParam,TDest>
convertBack
System.Func<TDest,TParam,TSource>
converterParameter
System.Object
stringFormat
System.String
source
System.Object
targetNullValue
System.Object
fallbackValue
System.Object

Returns

TBindable

Applies to

Bind<TBindable>(TBindable, String, BindingMode, IValueConverter, Object, String, Object, Object, Object)

public static TBindable Bind<TBindable> (this TBindable bindable, string path = ".", Xamarin.Forms.BindingMode mode = Xamarin.Forms.BindingMode.Default, Xamarin.Forms.IValueConverter converter = default, object converterParameter = default, string stringFormat = default, object source = default, object targetNullValue = default, object fallbackValue = default) where TBindable : Xamarin.Forms.BindableObject;
static member Bind : 'Bindable * string * Xamarin.Forms.BindingMode * Xamarin.Forms.IValueConverter * obj * string * obj * obj * obj -> 'Bindable (requires 'Bindable :> Xamarin.Forms.BindableObject)

Type Parameters

TBindable

Parameters

bindable
TBindable
path
System.String
converter
IValueConverter
converterParameter
System.Object
stringFormat
System.String
source
System.Object
targetNullValue
System.Object
fallbackValue
System.Object

Returns

TBindable

Applies to

Bind<TBindable>(TBindable, BindableProperty, String, BindingMode, IValueConverter, Object, String, Object, Object, Object)

public static TBindable Bind<TBindable> (this TBindable bindable, Xamarin.Forms.BindableProperty targetProperty, string path = ".", Xamarin.Forms.BindingMode mode = Xamarin.Forms.BindingMode.Default, Xamarin.Forms.IValueConverter converter = default, object converterParameter = default, string stringFormat = default, object source = default, object targetNullValue = default, object fallbackValue = default) where TBindable : Xamarin.Forms.BindableObject;
static member Bind : 'Bindable * Xamarin.Forms.BindableProperty * string * Xamarin.Forms.BindingMode * Xamarin.Forms.IValueConverter * obj * string * obj * obj * obj -> 'Bindable (requires 'Bindable :> Xamarin.Forms.BindableObject)

Type Parameters

TBindable

Parameters

bindable
TBindable
targetProperty
BindableProperty
path
System.String
converter
IValueConverter
converterParameter
System.Object
stringFormat
System.String
source
System.Object
targetNullValue
System.Object
fallbackValue
System.Object

Returns

TBindable

Applies to