BindingGroup.CanRestoreValues 属性

定义

获取绑定中的每个源是否都可以放弃挂起的更改并还原原始值。Gets whether each source in the binding can discard pending changes and restore the original values.

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

属性值

Boolean

如果绑定中的每个源都可以放弃挂起的更改并还原原始值,则为 true;否则为 falsetrue if each source in the binding can discard pending changes and restore the original values; otherwise, false.

注解

如果源实现,则源可以放弃挂起 IEditableObject 的更改。A source can discard pending changes if it implements IEditableObject.

适用于