TemplateControlHasChanges 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: 2023.4.9.0
public virtual bool HasChanges { get; }

Property Value

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

See Also