BindingExpressionBase BindingExpressionBase BindingExpressionBase BindingExpressionBase Class

定义

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
继承
BindingExpressionBaseBindingExpressionBaseBindingExpressionBaseBindingExpressionBase
派生
实现

注解

有关绑定和绑定表达式的信息, 请参阅数据绑定概述中的 "Binding and system.windows.data.bindingexpression>"。For information about bindings and binding expressions, see "Binding and BindingExpression" in Data Binding Overview.

属性

BindingGroup BindingGroup BindingGroup BindingGroup

获取此 BindingGroup 绑定表达式所属的轴。Gets the BindingGroup that this binding expression belongs to.

HasError HasError HasError HasError

获取一个值,该值指示父绑定是否具有一个失败的验证规则。Gets a value that indicates whether the parent binding has a failed validation rule.

HasValidationError HasValidationError HasValidationError HasValidationError

获取一个值,该值指示父绑定是否具有一个失败的验证规则。Gets a value that indicates whether the parent binding has a failed validation rule.

IsDirty IsDirty IsDirty 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 ParentBindingBase ParentBindingBase ParentBindingBase

获取从中创建此 BindingBase 对象的 BindingExpressionBase 对象。Gets the BindingBase object from which this BindingExpressionBase object is created.

Status Status Status Status

获取绑定表达式的状态。Gets the status of the binding expression.

Target Target Target Target

获取该绑定表达式的绑定目标对象元素。Gets the element that is the binding target object of this binding expression.

TargetProperty TargetProperty TargetProperty TargetProperty

获取此绑定表达式的绑定目标属性。Gets the binding target property of this binding expression.

ValidationError ValidationError ValidationError ValidationError

获取导致 ValidationError 的此实例无效的 BindingExpressionBaseGets the ValidationError that caused this instance of BindingExpressionBase to be invalid.

ValidationErrors ValidationErrors ValidationErrors ValidationErrors

获取导致 ValidationError 实例无效的 BindingExpressionBase 集合。Gets a collection of ValidationError objects that caused this instance of BindingExpressionBase to be invalid.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)
UpdateSource() UpdateSource() UpdateSource() UpdateSource()

将当前的绑定目标值发送到 TwoWayOneWayToSource 绑定中的绑定源。Sends the current binding target value to the binding source in TwoWay or OneWayToSource bindings.

UpdateTarget() UpdateTarget() UpdateTarget() UpdateTarget()

强制将数据从绑定源传输到绑定目标。Forces a data transfer from the binding source to the binding target.

ValidateWithoutUpdate() ValidateWithoutUpdate() ValidateWithoutUpdate() ValidateWithoutUpdate()

对关联的 ValidationRule 运行 Binding 属性设置为 ValidationStepRawProposedValue 的任何 ConvertedProposedValue 对象。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.

显式界面实现

IWeakEventListener.ReceiveWeakEvent(Type, Object, EventArgs) IWeakEventListener.ReceiveWeakEvent(Type, Object, EventArgs) IWeakEventListener.ReceiveWeakEvent(Type, Object, EventArgs) IWeakEventListener.ReceiveWeakEvent(Type, Object, EventArgs)

此成员支持 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基础结构,但不能在代码中直接使用。This member supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

适用于