
'Declaration <DefaultMemberAttribute("Item")> <ListBindableAttribute(False)> Public Class DataRowList Inherits ReadOnlyDataRowList
'Usage Dim instance As DataRowList
[DefaultMember("Item")] [ListBindable(false)] public class DataRowList : ReadOnlyDataRowList
This collection of data rows is directly related with the data binding. Modifying, adding, deleting, etc.. in this collection will automatically affect the corresponding rows in the data source to which the grid is bound. For example, if a row is deleted, it will also be deleted in the data source. If an operation is not permitted the appropriate error will be thrown.
System.Object
Xceed.Grid.Collections.ReadOnlyDataRowList
Xceed.Grid.Collections.DataRowList
Name | Description | |
---|---|---|
![]() | IsFixedSize | Overridden. Gets a value indicating whether the DataRowList has a fixed size. |
![]() | IsReadOnly | Overridden. Gets a value indicating whether the DataRowList is readonly. |
![]() | Item | Gets the DataRow at the specified index. (Inherited from Xceed.Grid.Collections.ReadOnlyDataRowList) |
Name | Description | |
---|---|---|
![]() | AddNew | Adds a new row to the list with its cells initialized to their default values. Xceed.Grid.CellRow.EndEdit must be called after AddNew in order to add the data row to the grid. |
![]() | Clear | Removes all rows from the list. |
![]() | Contains | Retrieves a boolean value indicating if a specific data row exists in the list. (Inherited from Xceed.Grid.Collections.ReadOnlyDataRowList) |
![]() | IndexOf | Searches for the specified Xceed.Grid.DataRow object and returns the zero-based index of the first occurrence within the list. (Inherited from Xceed.Grid.Collections.ReadOnlyDataRowList) |
![]() | Remove | Removes the row from the list. |
![]() | RemoveAt | Removes the row from the list at the specified index. |
Name | Description | |
---|---|---|
![]() | OnClear | Overridden. Performs additional custom processes when clearing the contents of the DataRowList instance. |
![]() | OnClearComplete | Overridden. Performs additional custom processes when clearing the contents of the DataRowList instance. |
![]() | OnInsert | Overridden. Performs additional custom processes before inserting a new row into the DataRowList instance. |
![]() | OnInsertComplete | Overridden. Performs additional custom processes after insertion of a new row into the DataRowList instance. |
![]() | OnRemove | Overridden. Performs additional custom processes when removing an element from the DataRowList instance. |
![]() | OnRemoveComplete | Overridden. Performs additional custom processes when removing a row from the the DataRowList instance. |
![]() | OnSet | Overridden. Performs additional custom processes before setting a value in the DataRowList instance. |
![]() | OnValidate | Performs additional custom processes when validating a value. (Inherited from Xceed.Grid.Collections.ReadOnlyDataRowList) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2