Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridControl Class / ColumnRemoved Event


In This Topic
    ColumnRemoved Event (GridControl)
    In This Topic
    Raised when a column is removed from the grid.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Raised when a column is removed from the grid.")>
    <CategoryAttribute("Data")>
    Public Event ColumnRemoved As ColumnRemovedEventHandler
    'Usage
     
    Dim instance As GridControl
    Dim handler As ColumnRemovedEventHandler
     
    AddHandler instance.ColumnRemoved, handler
    [Description("Raised when a column is removed from the grid.")]
    [Category("Data")]
    public event ColumnRemovedEventHandler ColumnRemoved
    Event Data

    The event handler receives an argument of type ColumnRemovedEventArgs containing data related to this event. The following ColumnRemovedEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the Column that was removed from the grid.  
    Gets the zero-based index at which the Column was removed.  
    Remarks

    The index at which the column was removed should be consulted through the ColumnRemovedEventArgs.Index property and not through the Index property.

    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