DataGridViewBindingModel overview
DataGridViewBindingModel Constructor | Overloaded. Initializes a new instance of the DataGridViewBindingModel class. |
AllowEdit (inherited from DataGridViewModel) | Gets whether you can update items in the model. Default is false. |
AllowNew (inherited from DataGridViewModel) | Gets whether you can add items to the model. Default is false. |
AllowRemove (inherited from DataGridViewModel) | Gets whether you can remove items from the model. Default is false. |
Container (inherited from Component) | Gets the IContainer that contains the Component. |
Count (inherited from DataGridViewModel) | Gets the number of items contained in the model. |
CurrencyManager | Gets the CurrencyManager of the underlying data source. |
DataMember | Gets or sets the specific list in the data source to which the data model currently binds to. |
DataSource | Gets or sets the data source that the data model binds to. |
Item (inherited from DataGridViewModel) | Gets the item at the specified indexed location in the model. |
ItemProperties | Gets a collection of PropertyDescriptor objects that describes the properties in the underlying data source. |
Position | Gets or sets the position in the underlying data source that controls point to. |
Site (inherited from Component) | Gets or sets the ISite of the Component. |
Sort (inherited from DataGridViewModel) | Gets or sets a string containing the column names used for sorting, and the sort order for viewing the rows in the data model. |
SupportsCancel (inherited from DataGridViewModel) | Gets whether the model supports CancelEdit and CancelNew. Default is false. |
SupportsSorting (inherited from DataGridViewModel) | Gets whether the list supports sorting. Default is false. |
Virtual (inherited from DataGridViewModel) | Gets a value indicating whether only unshared items are loaded. Note! Groups are not supported in the virtual mode. |
Add (inherited from DataGridViewModel) | Adds an item to the model. |
AddNew | Creates a new item with the same schema as the model and adds the item to the list. |
BeginEdit (inherited from DataGridViewModel) | Begins an edit on an item. |
CancelEdit (inherited from DataGridViewModel) | Discards changes since the last BeginEdit call. |
CancelNew (inherited from DataGridViewModel) | Discards a pending new item. |
Clear (inherited from DataGridViewModel) | Removes all items from the model. |
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Dispose (inherited from Component) | Overloaded. Releases the resources used by the Component. |
EndEdit (inherited from DataGridViewModel) | Pushes changes since the last BeginEdit call into the underlying data source. |
EndNew (inherited from DataGridViewModel) | Pushes changes since of a new item into the underlying data source. |
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
GetError (inherited from DataGridViewModel) | Gets an error message indicating what is wrong with an item. |
GetGroup (inherited from DataGridViewModel) | Gets the name of the group the item is assigned to, or null. |
GetGroupCaption (inherited from DataGridViewModel) | Gets the caption of the group the item is assigned to, or null. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetItemHeight (inherited from DataGridViewModel) | Gets the height of the DataGridView row that represents the item. |
GetItemValue (inherited from DataGridViewModel) | Gets the property value of an item. |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetPropertyError (inherited from DataGridViewModel) | Gets an error message indicating what is wrong with a property. |
GetType (inherited from Object) | Gets the Type of the current instance. |
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
Insert (inherited from DataGridViewModel) | Inserts a new item into the model at the specified location. |
LoadItem (inherited from DataGridViewModel) | An item has been unshared in the DataGridView control. This method is called to make sure that the item is loaded. |
LoadPage (inherited from DataGridViewModel) | The DataGridView control is scrolled to a new page. This method is called to make sure that all items on the new page are loaded. |
NewItem (inherited from DataGridViewModel) | Creates a new item with the same schema as the model. |
RemoveAt (inherited from DataGridViewModel) | Removes the item at the specified index from the model. |
RemoveSort (inherited from DataGridViewModel) | Removes the sort associated with the data model. |
SetItemHeight (inherited from DataGridViewModel) | Sets the height of the DataGridView row that represents the item. |
SetItemValue (inherited from DataGridViewModel) | Sets the property value of an item. |
ToString (inherited from Component) | Overridden. See Object.ToString. |
UnloadItem (inherited from DataGridViewModel) | An item is completely shared in the DataGridView control and can be unloaded to reduce memory footprint. |
DataMemberChanged | Occurs when the DataMember property value has changed. |
DataSourceChanged | Occurs when the DataSource property value has changed. |
DefaultValuesNeeded | Occurs when a new item requires default values to be set. |
Disposed (inherited from Component) | Adds an event handler to listen to the Disposed event on the component. |
ErrorTextNeeded | Occurs when the data model requires the error text of an item. |
GroupCaptionNeeded | Occurs when the data model requires the caption of the group an item is assigned to. |
GroupNeeded | Occurs when the data model requires the name of the group an item is assigned to. |
ItemHeightNeeded | Occurs when height of the row that represents an item is requested. |
ItemHeightPushed | Occurs when height of the row that represents an item is adjusted. |
ListChanged (inherited from DataGridViewModel) | Occurs when the list changes or an item in the list changes. |
PositionChanged | Occurs when the Position has changed. |
PropertyErrorTextNeeded | Occurs when the data model requires the error text of a property. |
ValueNeeded | Occurs when the data model requires a value of a property that is not bound to the underlying data source. |
ValuePushed | Occurs when the value of an unbound property is changed and requires storage in the underlying data source. |
DesignMode (inherited from Component) | Gets a value that indicates whether the Component is currently in design mode. |
Events (inherited from Component) | Gets the list of event handlers that are attached to this Component. |
Dispose (inherited from Component) | Overloaded. Releases the resources used by the Component. |
Finalize (inherited from Component) | Overridden. See Object.Finalize. In C# and C++, finalizers are expressed using destructor syntax. |
GetService (inherited from Component) | Returns an object that represents a service provided by the Component or by its Container. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
OnDataMemberChanged | Raises the DataMemberChanged event. |
OnDataSourceChanged | Raises the DataSourceChanged event. |
OnDefaultValuesNeeded | Raises the DefaultValuesNeeded event. |
OnErrorTextNeeded | Raises the ErrorTextNeeded event. |
OnGroupCaptionNeeded | Raises the GroupCaptionNeeded event. |
OnGroupNeeded | Raises the GroupNeeded event. |
OnItemHeightNeeded | Raises the ItemHeightNeeded event. |
OnItemHeightPushed | Raises the ItemHeightPushed event. |
OnListChanged (inherited from DataGridViewModel) | Raises the ListChanged event. |
OnPositionChanged | Raises the PositionChanged event. |
OnPropertyErrorTextNeeded | Raises the PropertyErrorTextNeeded event. |
OnValueNeeded | Raises the ValueNeeded event. |
OnValuePushed | Raises the ValuePushed event. |