Xceed Grid for WinForms v4.3 Documentation
OnInsert Method (ColumnInfoList)


Xceed.Grid.v4.3 Assembly > Xceed.Editors Namespace > ColumnInfoList Class : OnInsert Method
The zero-based index at which to insert value.
The new value of the element at index.
true to cancel the operation; false otherwise.
Performs additional custom processing before inserting a new ColumnInfo into the list.
Syntax
'Declaration
 
Protected Overrides NotOverridable Sub OnInsert( _

   ByRef index As Integer, _

   ByVal value As Object, _

   ByRef cancel As Boolean _

) 
'Usage
 
Dim instance As ColumnInfoList

Dim index As Integer

Dim value As Object

Dim cancel As Boolean

 

instance.OnInsert(index, value, cancel)
protected override void OnInsert( 

   ref int index,

   object value,

   ref bool cancel

)

Parameters

index
The zero-based index at which to insert value.
value
The new value of the element at index.
cancel
true to cancel the operation; false otherwise.
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

ColumnInfoList Class
ColumnInfoList Members
Base Implementation in OnInsert