Show / Hide Table of Contents

Class BindingExpression

Contains information about a single instance of a Binding.

Inheritance
System.Object
Expression
BindingExpressionBase
BindingExpression
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Data
Assembly: OpenSilver.dll
Syntax
public sealed class BindingExpression : BindingExpressionBase

Properties

| Improve this Doc View Source

DataItem

Gets the binding source object that this BindingExpression uses.

Declaration
public object DataItem { get; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

ParentBinding

The Binding object of the current BindingExpression.

Declaration
public Binding ParentBinding { get; }
Property Value
Type Description
Binding
| Improve this Doc View Source

TargetProperty

The binding target property of this binding expression.

Declaration
public DependencyProperty TargetProperty { get; }
Property Value
Type Description
DependencyProperty

Methods

| Improve this Doc View Source

UpdateSource()

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

Declaration
public void UpdateSource()
Exceptions
Type Condition
System.InvalidOperationException

The BindingExpression is detached from the binding target.

  • Improve this Doc
  • View Source