Share via


Binding Class

Definition

A single 1:1 immutable data binding.

public ref class Binding sealed : Microsoft::Maui::Controls::BindingBase
public sealed class Binding : Microsoft.Maui.Controls.BindingBase
type Binding = class
    inherit BindingBase
Public NotInheritable Class Binding
Inherits BindingBase
Inheritance

Remarks

This class is immutable.

Constructors

Binding()

Constructs and initializes a new instance of the Binding class.

Binding(String, BindingMode, IValueConverter, Object, String, Object)

Constructs and initializes a new instance of the Binding class.

Fields

DoNothing
SelfPath

Properties

Converter

Gets or sets the converter to be used for this binding ?

ConverterParameter

Gets or sets the parameter passed as argument to the converter.

FallbackValue

Gets or sets the value to use instead of the default value for the property, if no specified value exists.

(Inherited from BindingBase)
Mode

Gets or sets the mode for this binding.

(Inherited from BindingBase)
Path

Gets or sets the path of the property

Source

Gets or sets the source of the binding.

StringFormat

Gets or sets the string format for this binding.

(Inherited from BindingBase)
TargetNullValue

Gets or sets the value to supply for a bound property when the target of the binding is null.

(Inherited from BindingBase)
UpdateSourceEventName

For internal use by the Microsoft.Maui.Controls platform.

Methods

ThrowIfApplied() (Inherited from BindingBase)

Applies to