TypedBinding<TSource,TProperty> Class

Definition

generic <typename TSource, typename TProperty>
public ref class TypedBinding sealed : Microsoft::Maui::Controls::Internals::TypedBindingBase
public sealed class TypedBinding<TSource,TProperty> : Microsoft.Maui.Controls.Internals.TypedBindingBase
type TypedBinding<'Source, 'Property> = class
    inherit TypedBindingBase
Public NotInheritable Class TypedBinding(Of TSource, TProperty)
Inherits TypedBindingBase

Type Parameters

TSource
TProperty
Inheritance
TypedBinding<TSource,TProperty>

Constructors

Name Description
TypedBinding<TSource,TProperty>(Func<TSource,ValueTuple<TProperty,Boolean>>, Action<TSource,TProperty>, Tuple<Func<TSource,Object>,String>[])

Properties

Name Description
Converter

Gets or sets the converter used to convert values between source and target.

(Inherited from TypedBindingBase)
ConverterParameter

Gets or sets the parameter passed to the converter.

(Inherited from TypedBindingBase)
FallbackValue

Gets or sets the value used when the binding cannot produce a source value (e.g. path not found, conversion failure).

(Inherited from BindingBase)
Mode

Gets or sets the mode for this binding.

(Inherited from BindingBase)
Source

Gets or sets the source object for the binding.

(Inherited from TypedBindingBase)
StringFormat

Gets or sets the string format applied to the bound value.

(Inherited from BindingBase)
TargetNullValue

Gets or sets the value to use when the binding successfully resolves the source path and the resulting source value is null.

(Inherited from BindingBase)
UpdateSourceEventName (Inherited from TypedBindingBase)

Methods

Name Description
ThrowIfApplied()

Throws InvalidOperationException if the binding has already been applied.

(Inherited from BindingBase)

Applies to