Share via


TemplateBinding Constructors

Definition

Overloads

TemplateBinding()

Creates an empty template binding.

TemplateBinding(String, BindingMode, IValueConverter, Object, String)

Creates an empty template binding.

TemplateBinding()

Source:
TemplateBinding.cs
Source:
TemplateBinding.cs

Creates an empty template binding.

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

Applies to

TemplateBinding(String, BindingMode, IValueConverter, Object, String)

Source:
TemplateBinding.cs
Source:
TemplateBinding.cs

Creates an empty template binding.

public TemplateBinding (string path, Microsoft.Maui.Controls.BindingMode mode = Microsoft.Maui.Controls.BindingMode.Default, Microsoft.Maui.Controls.IValueConverter converter = default, object converterParameter = default, string stringFormat = default);
new Microsoft.Maui.Controls.TemplateBinding : string * Microsoft.Maui.Controls.BindingMode * Microsoft.Maui.Controls.IValueConverter * obj * string -> Microsoft.Maui.Controls.TemplateBinding
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)

Parameters

path
String

A string that identifies the property to which to bind.

mode
BindingMode

The binding mode.

converter
IValueConverter

A type converter to use to convert strings into instances of the bound property type.

converterParameter
Object

A parameter to pass to the converter.

stringFormat
String

A format string to use for displaying property values.

Applies to