Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridControl Class / DataRows Property


In This Topic
    DataRows Property (GridControl)
    In This Topic
    Gets a list of all the data rows in the grid, regardless of the group hierarchy and sort.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    Public ReadOnly Property DataRows As DataRowList
    'Usage
     
    Dim instance As GridControl
    Dim value As DataRowList
     
    value = instance.DataRows
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public DataRowList DataRows {get;}

    Property Value

    A reference to a Xceed.Grid.Collections.RowList object containing a list of all the data rows in the grid, regardless of the group hierarchy and sort.
    Remarks

    This property preserves the same order as the data source to which the grid is bound. In the case where the grid is unbound, the original order is used.

    The index of each datarow in the collection corresponds to the row's index in the data source.

    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