Interface for an object that encapsulates a data source comprised of one or more tables and their records,
used by an IDataEditor for context and currency.
| C# |
public interface IDataEditorRecordSource : INotifyPropertyChanged, IDisposable, ISuspendable
| All Members | Methods | Properties | Events | ||
| Icon | Member | Description |
|---|---|---|
| BindingContext |
Gets the binding context for data-bound items.
| |
| Context |
Gets the current context for records being edited.
| |
| ContextChanged |
Occurs after navigating to a different Context.
| |
| ContextPropertyChanged |
Occurs when the value of a property (e.g a data column) has changed.
| |
| DataSource |
Gets or sets the data source associated with this instance.
| |
| Dispose()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.) | |
| HasRecord |
Gets or sets whether there is a current record.
| |
| Init(Object) |
Initializes the instance.
| |
| PropertyChanged |
Occurs when a property value changes.
(Inherited from INotifyPropertyChanged.) | |
| Resume()()() |
Resumes the object
(Inherited from ISuspendable.) | |
| Suspend()()() |
Suspends the object
(Inherited from ISuspendable.) | |
| Suspended |
True if the object is suspended
(Inherited from ISuspendable.) |
An implementation of this interface serves as the RecordSource for an IDataEditor
and provides the ability to navigate the parent-child table heirarchy and the records in those tables.
The Context property provides access to the current table, and its GridRecord
represents the current record.