Template ControlHas Changes Property
This read-only property can be used to see if the row source has been modified
Definition
Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
The CommitChanges method is called first to commit any pending changes to the row source. The template can detect changes only if the row source is a DataRowView or a DataRow. In those cases, it returns true if the row source has been modified or false if it has not. For all other row source types, it will always returns false. You may override this property in order to extend the types that it knows about and detect changes in them.
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public virtual bool HasChanges { get; }VB
Public Overridable ReadOnly Property HasChanges As Boolean
GetC++
public:
virtual property bool HasChanges {
bool get ();
}F#
abstract HasChanges : bool with get
override HasChanges : bool with getProperty Value
BooleanThe CommitChanges method is called first to commit any pending changes to the row source. The template can detect changes only if the row source is a DataRowView or a DataRow. In those cases, it returns true if the row source has been modified or false if it has not. For all other row source types, it will always returns false. You may override this property in order to extend the types that it knows about and detect changes in them.