Represents a table's data in an editor. The context is a shared layer
on top of the BindingContext, Grid, DataView, etc. that ensures changes made to a row
are represented by all parts of DataPlace simultaneously without having to commit the edit.
| C# |
public class DataEditorContext : Component, IDataEditorContext, ICustomTypeDescriptor, INotifyPropertyChanged, IDisposable
| All Members | Methods | Properties | Events | ||
| Icon | Member | Description |
|---|---|---|
| AddRow()()() |
Adds a new (uncommitted) row and begins an edit operation.
| |
| BeginEdit()()() |
Begins an edit operation on the current record.
| |
| CancelEdit()()() |
Cancels the current edit operation.
| |
| CanRaiseEvents |
Gets a value indicating whether the component can raise an event.
(Inherited from Component.) | |
| Container |
Gets the IContainer that contains the Component.
(Inherited from Component.) | |
| CreateObjRef(Type) |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.) | |
| DataSource |
Gets the data source that serves this context.
| |
| DataView |
Gets the underlying DataView or SuspendableDataView that serves this context.
| |
| DesignMode |
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.) | |
| Dispose(Boolean) |
Disposes of the object.
(Overrides Component.Dispose(Boolean).) | |
| Dispose()()() |
Releases all resources used by the Component.
(Inherited from Component.) | |
| Disposed |
Occurs when the component is disposed by a call to the Dispose()()() method.
(Inherited from Component.) | |
| EndContextEdit()()() |
Ends the current edit.
| |
| EndEdit()()() |
Ends an edit operation on the current record.
| |
| Equals(Object) | (Inherited from Object.) | |
| Events |
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.) | |
| Finalize()()() |
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetLifetimeService()()() |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| GetService(Type) | (Inherited from Component.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GridRecord |
Gets the current Syncfusion Record.
| |
| GridTable |
Gets the Syncfusion GridTable object.
| |
| GridTableControl |
Gets the Syncfusion GridTableControl.
| |
| GridTopTableControl |
Gets the top-level Syncfusion GridTableControl.
| |
| HasRecord |
Gets whether a record is selected in this context.
| |
| InitializeLifetimeService()()() |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| IsSuspended |
Gets whether change events are suspended.
| |
| Item[([(String])]) |
Gets or sets the value for the current record by column name.
| |
| MemberwiseClone(Boolean) |
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| MoveDown()()() |
Navigates the next record/row.
| |
| MoveUp()()() |
Navigates the previous record/row.
| |
| OnPropertyChanged(String) |
Raises the PropertyChanged event.
| |
| OnRecordChanged(EventArgs) |
Raises the RecordChanged event.
| |
| PropertyChanged |
Occurs when a property value has changed.
| |
| RaisePropertyChanged(String) |
Raises the PropertyChanged event.
| |
| RecordChanged |
Occurs when the context has navigated to a different record.
| |
| RowView |
Currently selected DataRowView.
| |
| SetValue(String, Object) |
Sets a column value.
| |
| Site | (Inherited from Component.) | |
| TableName |
Gets the table name.
| |
| ToString()()() |
Returns a string representation of the object.
(Overrides Component.ToString()()().) | |
| UpdateCurrentRecord()()() |
Synchronizes the current record of this instance to the current underlying record/row.
|
This class supports dynamic properties (via ICustomTypeDescriptor)
that represent data columns.
As such, a component should not attempt to bind to a property that is directly on
this class (such as RowView),
to avoid ambiguity with a data column that might have the same name.
You can retrieve and update column values through the indexer on this class.
PropertyChanged events will be raised for changes made via this context.
| Object | |||
| MarshalByRefObject | |||
| Component | |||
| DataEditorContext | |||