Compartilhar via


Binding Constructors

Definition

Overloads

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.

Binding()

Source:
Binding.cs
Source:
Binding.cs

Constructs and initializes a new instance of the Binding class.

public:
 Binding();
public Binding ();
Public Sub New ()

Applies to

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

Source:
Binding.cs
Source:
Binding.cs

Constructs and initializes a new instance of the Binding class.

public Binding (string path, Microsoft.Maui.Controls.BindingMode mode = Microsoft.Maui.Controls.BindingMode.Default, Microsoft.Maui.Controls.IValueConverter converter = default, object converterParameter = default, string stringFormat = default, object source = default);
new Microsoft.Maui.Controls.Binding : string * Microsoft.Maui.Controls.BindingMode * Microsoft.Maui.Controls.IValueConverter * obj * string * obj -> Microsoft.Maui.Controls.Binding
Public Sub New (path As String, Optional mode As BindingMode = Microsoft.Maui.Controls.BindingMode.Default, Optional converter As IValueConverter = Nothing, Optional converterParameter As Object = Nothing, Optional stringFormat As String = Nothing, Optional source As Object = Nothing)

Parameters

path
String

The property path.

mode
BindingMode

The binding mode. This property is optional. Default is Default.

converter
IValueConverter

The converter. This parameter is optional. Default is null.

converterParameter
Object

An user-defined parameter to pass to the converter. This parameter is optional. Default is null.

stringFormat
String

A String format. This parameter is optional. Default is null.

source
Object

An object used as the source for this binding. This parameter is optional. Default is null.

Applies to