BindingExpressionBase.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.

public:
 property bool IsDirty { bool get(); };
public bool IsDirty { get; }
member this.IsDirty : bool
Public ReadOnly Property IsDirty As Boolean

属性值

Boolean

如果目标包含尚未写入到源的建议值,则为 true;否则为 falsetrue if the target has a value that has not been written to the source; otherwise, false.

注解

仅当 Mode 父级的属性 Binding 设置为或时,此属性才适用 TwoWay OneWayToSourceThis property applies only if Mode property of the parent Binding is set to TwoWay or OneWayToSource.

适用于