BindingExpression Class
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.
public ref class BindingExpression : BindingExpressionBase
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BindingExpression : BindingExpressionBase
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class BindingExpression : BindingExpressionBase
Public Class BindingExpression
Inherits BindingExpressionBase
- Inheritance
- Attributes
Remarks
The Binding class is the high-level class for the declaration of a binding. The BindingExpression class is the underlying object that maintains the connection between the binding source and the binding target. A Binding contains all the information that can be shared across several BindingExpression objects. A BindingExpression is an instance expression that cannot be shared and that contains all the instance information about the Binding.
You can obtain a BindingExpression object by calling the FrameworkElement.GetBindingExpression method on an object, specifying the dependency property that has the binding.
Properties
DataItem |
Gets the binding source object that this BindingExpression uses. |
ParentBinding |
Gets the Binding object of this BindingExpression. |
Methods
UpdateSource() |
Sends the current binding target value to the binding source property in TwoWay bindings. |