Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Collections Namespace / DataRowList Class
Members


In This Topic
    DataRowList Class
    In This Topic
    Contains an editable list of Xceed.Grid.DataRow objects used by the Xceed.Grid.GroupBase.GetSortedDataRows.
    Object Model
    DataRowList ClassDataRow Class
    Syntax
    'Declaration
     
    <DefaultMemberAttribute("Item")>
    <ListBindableAttribute(False)>
    Public Class DataRowList 
       Inherits ReadOnlyDataRowList
    'Usage
     
    Dim instance As DataRowList
    [DefaultMember("Item")]
    [ListBindable(false)]
    public class DataRowList : ReadOnlyDataRowList 
    Remarks

    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.

    Inheritance Hierarchy

    System.Object
          Xceed.Grid.Collections.ReadOnlyDataRowList
             Xceed.Grid.Collections.DataRowList

    Public Properties
     NameDescription
    Public PropertyOverridden. Gets a value indicating whether the DataRowList has a fixed size.  
    Public PropertyOverridden. Gets a value indicating whether the DataRowList is readonly.  
    Public PropertyGets the DataRow at the specified index. (Inherited from Xceed.Grid.Collections.ReadOnlyDataRowList)
    Top
    Public Methods
     NameDescription
    Public MethodAdds 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.  
    Public MethodRemoves all rows from the list.  
    Public MethodRetrieves a boolean value indicating if a specific data row exists in the list. (Inherited from Xceed.Grid.Collections.ReadOnlyDataRowList)
    Public MethodSearches 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)
    Public MethodRemoves the row from the list.  
    Public MethodRemoves the row from the list at the specified index.  
    Top
    Protected Methods
     NameDescription
    Protected MethodOverridden. Performs additional custom processes when clearing the contents of the DataRowList instance.  
    Protected MethodOverridden. Performs additional custom processes when clearing the contents of the DataRowList instance.  
    Protected MethodOverridden. Performs additional custom processes before inserting a new row into the DataRowList instance.  
    Protected MethodOverridden. Performs additional custom processes after insertion of a new row into the DataRowList instance.  
    Protected MethodOverridden. Performs additional custom processes when removing an element from the DataRowList instance.  
    Protected MethodOverridden. Performs additional custom processes when removing a row from the the DataRowList instance.  
    Protected MethodOverridden. Performs additional custom processes before setting a value in the DataRowList instance.  
    Protected MethodPerforms additional custom processes when validating a value. (Inherited from Xceed.Grid.Collections.ReadOnlyDataRowList)
    Top
    Requirements

    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

    See Also