Rediger

Del via


BindingExpressionBase Class

Definition

public ref class BindingExpressionBase abstract : System::Windows::Expression, System::Windows::IWeakEventListener
public abstract class BindingExpressionBase : System.Windows.Expression, System.Windows.IWeakEventListener
type BindingExpressionBase = class
    inherit Expression
    interface IWeakEventListener
Public MustInherit Class BindingExpressionBase
Inherits Expression
Implements IWeakEventListener
Inheritance
BindingExpressionBase
Derived
Implements

Remarks

For information about bindings and binding expressions, see "Binding and BindingExpression" in Data Binding Overview.

Properties

BindingGroup

Gets the BindingGroup that this binding expression belongs to.

HasError

Gets a value that indicates whether the parent binding has a failed validation rule.

HasValidationError

Gets a value that indicates whether the parent binding has a failed validation rule.

IsDirty

Gets or sets a value that indicates whether the target of the binding has a value that has not been written to the source.

ParentBindingBase

Gets the BindingBase object from which this BindingExpressionBase object is created.

Status

Gets the status of the binding expression.

Target

Gets the element that is the binding target object of this binding expression.

TargetProperty

Gets the binding target property of this binding expression.

ValidationError

Gets the ValidationError that caused this instance of BindingExpressionBase to be invalid.

ValidationErrors

Gets a collection of ValidationError objects that caused this instance of BindingExpressionBase to be invalid.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
UpdateSource()

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

UpdateTarget()

Forces a data transfer from the binding source to the binding target.

ValidateWithoutUpdate()

Runs any ValidationRule objects on the associated Binding that have the ValidationStep property set to RawProposedValue or ConvertedProposedValue. This method does not update the source.

Explicit Interface Implementations

IWeakEventListener.ReceiveWeakEvent(Type, Object, EventArgs)

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

Applies to