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


In This Topic
    ValueRow Class
    In This Topic
    Represents a row that contains a cell for each column in the grid but is not bound to a data source.
    Syntax
    'Declaration
     
    <DescriptionAttribute("A row that contains a cell for each column in the grid but is not bound to a data source.")>
    <ToolboxItemAttribute(False)>
    <DefaultEventAttribute("CellValueChanged")>
    <DesignerAttribute("Xceed.Grid.Design.CellRowDesigner,Xceed.Grid.v4.3.Design,Version=4.3.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>
    <DesignTimeVisibleAttribute(False)>
    <DefaultPropertyAttribute("BackColor")>
    Public Class ValueRow 
       Inherits CellRow
    'Usage
     
    Dim instance As ValueRow
    [Description("A row that contains a cell for each column in the grid but is not bound to a data source.")]
    [ToolboxItem(false)]
    [DefaultEvent("CellValueChanged")]
    [Designer("Xceed.Grid.Design.CellRowDesigner,Xceed.Grid.v4.3.Design,Version=4.3.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]
    [DesignTimeVisible(false)]
    [DefaultProperty("BackColor")]
    public class ValueRow : CellRow 
    Remarks

    Every row that contains cells will contain a cell for each column in the grid. Each of these cells will always have the same index, name and width as its parent column.

    There are 4 specializations of the CellRow class: the DataRow class which represents a row that is bound to a data source or user provided data, the ValueRow class which contains a cell for each column in the grid but is not bound to a data source, the InsertionRow class which contains a cell for each column in the grid and is used by the end-user to insert new DataRow objects into the grid and the ColumnManagerRow class which represents a row that is used to manage the columns in the grid.

    Rows that do not contain cells can be used to display labels or manage other rows in the grid. Xceed Grid for .NET provides 4 cell-less row classes: the TextRow class which is used to display text, the GroupManagerRow class which is used to manage groups, the GroupByRow class which represents a row in which ColumnManagerCell objects can be drag and dropped in order to group a grid's data rows and the SpacerRow class which represents a row that is used to provide spacing between rows and detail grids in the grid. All of these rows derive directly from the Row class.

    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          Xceed.Grid.GridElementBase
             Xceed.Grid.GridElement
                Xceed.Grid.VisualGridElement
                   Xceed.Grid.Row
                      Xceed.Grid.CellRow
                         Xceed.Grid.ValueRow

    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