FieldChooser Property
Description
Associates a FieldChooser control with the GridControl.
Property Type
Read-write property.
Syntax (Visual Basic)
Public Property FieldChooser() As [FieldChooser](XtremeGridControl~FieldChooser.md)
Remarks
You must associate the FieldChooser control with the GridControl so the GridControl knows which FieldChooser control to add/remove column headers to/from.
Example
This sample illustrates how to associate a FieldChooser control with a GridControl. This sample assumes that the FieldChooser control is placed on a separate form named frmFieldChooser.
' This code will display the form that has the FieldChooser control on it
frmFieldChooser.Show 0, Me
' This code associates the FieldChooser control with the GridControl, this is
' necessary so the GridControl knows where to find the FieldChooser so it can
' add and remove column headers.
wndGridControl.FieldChooser = frmFieldChooser.wndFieldChooser
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.