DataPlace
IDataEditorContext Interface
CSCS.DataPlace.EditIDataEditorContext
Interface for an object that provides currency for a data editor. An implementing class will typically encapsulate a DataTable and provide record currency, exposing the current record and allowing navigation between records.
Declaration Syntax
C#
public interface IDataEditorContext : ICustomTypeDescriptor, 
	INotifyPropertyChanged, IDisposable
Members
All MembersMethodsPropertiesEvents



IconMemberDescription
AddRow()()()
Adds a new row.

BeginEdit()()()
Begins an editing operation. This should normally be called before making data changes.

CancelEdit()()()
Cancels an editing operation, rejecting changes.

DataSource
Gets the associated data source.

DataView
Gets a view of the data being edited.

Dispose()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
EndContextEdit()()()
Ends an editing operation on this context, accepting changes.

EndEdit()()()
Ends an editing operation, accepting changes.

GetAttributes()()()
Returns a collection of custom attributes for this instance of a component.
(Inherited from ICustomTypeDescriptor.)
GetClassName()()()
Returns the class name of this instance of a component.
(Inherited from ICustomTypeDescriptor.)
GetComponentName()()()
Returns the name of this instance of a component.
(Inherited from ICustomTypeDescriptor.)
GetConverter()()()
Returns a type converter for this instance of a component.
(Inherited from ICustomTypeDescriptor.)
GetDefaultEvent()()()
Returns the default event for this instance of a component.
(Inherited from ICustomTypeDescriptor.)
GetDefaultProperty()()()
Returns the default property for this instance of a component.
(Inherited from ICustomTypeDescriptor.)
GetEditor(Type)
Returns an editor of the specified type for this instance of a component.
(Inherited from ICustomTypeDescriptor.)
GetEvents()()()
Returns the events for this instance of a component.
(Inherited from ICustomTypeDescriptor.)
GetEvents(array<Attribute>[]()[])
Returns the events for this instance of a component using the specified attribute array as a filter.
(Inherited from ICustomTypeDescriptor.)
GetProperties()()()
Returns the properties for this instance of a component.
(Inherited from ICustomTypeDescriptor.)
GetProperties(array<Attribute>[]()[])
Returns the properties for this instance of a component using the attribute array as a filter.
(Inherited from ICustomTypeDescriptor.)
GetPropertyOwner(PropertyDescriptor)
Returns an object that contains the property described by the specified property descriptor.
(Inherited from ICustomTypeDescriptor.)
GridRecord
Gets an object that represents the current record, if any.

GridTable
Gets an object that represents the table associated with this instance.

GridTableControl
Gets an object that represents the control used to display data contained in the table associated with this instance.

GridTopTableControl
Gets an object that represents the top-level table in a heirarchy of tables.

HasRecord
Gets whether there is a current record.

IsSuspended
Gets whether change events are suspended.

Item[([(String])])
Gets or sets the value of a column.

MoveDown()()()
Moves to the next record.

MoveUp()()()
Moves to the previous record.

PropertyChanged
Occurs when a property value changes.
(Inherited from INotifyPropertyChanged.)
RaisePropertyChanged(String)
Raises a property-changed event.

RecordChanged
Occurs after moving to a new record.

RowView
Gets a view of the current row.

SetValue(String, Object)
Sets the value for a column

TableName
Gets the name of the table whose data is being edited.

UpdateCurrentRecord()()()
Synchronizes the current record of this instance to the current underlying record/row.

Assembly: CS.DataPlace.Extensibility (Module: CS.DataPlace.Extensibility) Version: 2.0.3271.19819