BindingExpression class

Applies to Windows and Windows Phone

Contains information about a single instance of a Binding.

Inheritance

Object
  BindingExpressionBase
    BindingExpression

Syntax


public class BindingExpression : BindingExpressionBase

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]
[WebHostHidden()]

Members

The BindingExpression class has these types of members:

Methods

The BindingExpression class has these methods. It also inherits methods from the Object class.

MethodDescription
UpdateSource Sends the current binding target value to the binding source property in TwoWay bindings.

 

Properties

The BindingExpression class has these properties.

PropertyAccess typeDescription

DataItem

Read-onlyGets the binding source object that this BindingExpression uses.

ParentBinding

Read-onlyGets the Binding object of this BindingExpression.

 

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 GetBindingExpression method on an object, specifying the dependency property that has the binding.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Data
Windows::UI::Xaml::Data [C++]

Metadata

Windows.winmd

See also

BindingExpressionBase

 

 

Show:
© 2014 Microsoft