Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
BindingExtension Class
Definition
- Namespace:
- Microsoft.Maui.Controls.Xaml
- Assembly:
- Microsoft.Maui.Controls.Xaml.dll
- Source:
- BindingExtension.cs
- Source:
- BindingExtension.cs
- Source:
- BindingExtension.cs
- Source:
- BindingExtension.cs
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.
Provides a XAML markup extension that creates a Binding from a XAML attribute value.
public ref class BindingExtension sealed : Microsoft::Maui::Controls::Xaml::IMarkupExtension<Microsoft::Maui::Controls::BindingBase ^>
[Microsoft.Maui.Controls.ContentProperty("Path")]
[Microsoft.Maui.Controls.Xaml.RequireService(new System.Type[] { typeof(Microsoft.Maui.Controls.Xaml.IXamlTypeResolver), typeof(Microsoft.Maui.Controls.Xaml.IXamlDataTypeProvider) })]
public sealed class BindingExtension : Microsoft.Maui.Controls.Xaml.IMarkupExtension<Microsoft.Maui.Controls.BindingBase>
[Microsoft.Maui.Controls.ContentProperty("Path")]
[Microsoft.Maui.Controls.Xaml.AcceptEmptyServiceProvider]
public sealed class BindingExtension : Microsoft.Maui.Controls.Xaml.IMarkupExtension<Microsoft.Maui.Controls.BindingBase>
[<Microsoft.Maui.Controls.ContentProperty("Path")>]
[<Microsoft.Maui.Controls.Xaml.RequireService(new System.Type[] { typeof(Microsoft.Maui.Controls.Xaml.IXamlTypeResolver), typeof(Microsoft.Maui.Controls.Xaml.IXamlDataTypeProvider) })>]
type BindingExtension = class
interface IMarkupExtension<BindingBase>
interface IMarkupExtension
[<Microsoft.Maui.Controls.ContentProperty("Path")>]
[<Microsoft.Maui.Controls.Xaml.AcceptEmptyServiceProvider>]
type BindingExtension = class
interface IMarkupExtension<BindingBase>
interface IMarkupExtension
Public NotInheritable Class BindingExtension
Implements IMarkupExtension(Of BindingBase)
- Inheritance
-
BindingExtension
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| BindingExtension() | |
Properties
| Name | Description |
|---|---|
| Converter |
Gets or sets the converter to use when converting between source and target values. |
| ConverterParameter |
Gets or sets a parameter to pass to the converter. |
| FallbackValue |
Gets or sets the value to use when the binding cannot return a value. |
| Mode |
Gets or sets the binding mode. |
| Path |
Gets or sets the path to the binding source property. |
| Source |
Gets or sets the source object for the binding. |
| StringFormat |
Gets or sets a format string to use when converting the bound value to a string. |
| TargetNullValue |
Gets or sets the value to use when the target property value is |
| TypedBinding |
For internal use only. This API can be changed or removed without notice at any time. |
| UpdateSourceEventName |
Gets or sets the name of the event that triggers the source update in TwoWay bindings. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IMarkupExtension.ProvideValue(IServiceProvider) | |
| IMarkupExtension<BindingBase>.ProvideValue(IServiceProvider) | |
Applies to
Feedback
Was this page helpful?
