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

屬性值

如果目標有尚未寫入至來源的值,則為 true,否則為 falsetrue if the target has a value that has not been written to the source; otherwise, false.

備註

只有當父系Binding的屬性Mode設定為TwoWayOneWayToSource時, 這個屬性才適用。This property applies only if Mode property of the parent Binding is set to TwoWay or OneWayToSource.

適用於