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 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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET MAUI