TemplateBinding Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TemplateBinding() |
Creates an empty template binding. |
TemplateBinding(String, BindingMode, IValueConverter, Object, String) |
Creates a new TemplateBinding with the specified values. Must be non-empty and non-null. |
TemplateBinding()
Creates an empty template binding.
public TemplateBinding ();
Applies to
TemplateBinding(String, BindingMode, IValueConverter, Object, String)
Creates a new TemplateBinding with the specified values. Must be non-empty and non-null.
public TemplateBinding (string path, Xamarin.Forms.BindingMode mode = Xamarin.Forms.BindingMode.Default, Xamarin.Forms.IValueConverter converter = default, object converterParameter = default, string stringFormat = default);
new Xamarin.Forms.TemplateBinding : string * Xamarin.Forms.BindingMode * Xamarin.Forms.IValueConverter * obj * string -> Xamarin.Forms.TemplateBinding
Parameters
- path
- System.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
- System.Object
A parameter to pass to the converter.
- stringFormat
- System.String
A format string to use for displaying property values.