Xceed Grid for WinForms v4.3 Documentation
Insert(Int32,Column,Boolean) Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Collections Namespace > SortedColumnList Class > Insert Method : Insert(Int32,Column,Boolean) Method
The zero-based index at which to insert the column.
A reference to the Xceed.Grid.Column object to insert.
true if the column will sort the data rows in an ascending direction; false if the data rows are to be sorted in a descending direction.
Inserts a column into the list at the specified index.
Syntax
'Declaration
 
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal column As Column, _
   ByVal ascending As Boolean _
) 
'Usage
 
Dim instance As SortedColumnList
Dim index As Integer
Dim column As Column
Dim ascending As Boolean
 
instance.Insert(index, column, ascending)
public void Insert( 
   int index,
   Column column,
   bool ascending
)

Parameters

index
The zero-based index at which to insert the column.
column
A reference to the Xceed.Grid.Column object to insert.
ascending
true if the column will sort the data rows in an ascending direction; false if the data rows are to be sorted in a descending direction.
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

Reference

SortedColumnList Class
SortedColumnList Members
Overload List