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


In This Topic
    VisualGridElement Class
    In This Topic
    Represents any visual element in the grid and exposes properties and methods that allow their manipulations. The Column and Group classes do not have a visual representation therefore, they derive directly from the GridElement class.
    Syntax
    'Declaration
     
    <DefaultEventAttribute("Click")>
    <DesignerAttribute("Xceed.Grid.Design.GridElementDesigner,Xceed.Grid.v4.3.Design,Version=4.3.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>
    <DesignTimeVisibleAttribute(False)>
    <DefaultPropertyAttribute("BackColor")>
    <ToolboxItemAttribute(False)>
    Public MustInherit Class VisualGridElement 
       Inherits GridElement
    'Usage
     
    Dim instance As VisualGridElement
    [DefaultEvent("Click")]
    [Designer("Xceed.Grid.Design.GridElementDesigner,Xceed.Grid.v4.3.Design,Version=4.3.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]
    [DesignTimeVisible(false)]
    [DefaultProperty("BackColor")]
    [ToolboxItem(false)]
    public abstract class VisualGridElement : GridElement 
    Remarks

    When setting properties that modify the contents of a grid element, for example the Font or ForeColor properties, it is important to remember that if the grid element is a cell, then only the cell will be modified. If the grid element is a row or column, then all the cells in the row or column will be modified.

    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          Xceed.Grid.GridElementBase
             Xceed.Grid.GridElement
                Xceed.Grid.VisualGridElement
                   Xceed.Grid.Cell
                   Xceed.Grid.FixedColumnSplitter
                   Xceed.Grid.GroupMargin
                   Xceed.Grid.Row
                   Xceed.Grid.RowSelector

    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