Class GridDataBoundFieldChooser
Implements the functionalities of field chooser for GridDataBoundGrid.
Inheritance
System.Object
GridDataBoundFieldChooser
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class GridDataBoundFieldChooser
Constructors
GridDataBoundFieldChooser()
Initializes a new instance of the GridDataBoundFieldChooser class.
Declaration
public GridDataBoundFieldChooser()
Fields
fieldChooserDropDownMenu
To initialize DropDownMenu.
Declaration
public ContextMenuStrip fieldChooserDropDownMenu
Field Value
Type |
---|
System.Windows.Forms.ContextMenuStrip |
fieldChooserToolStripMenuItem
To initialize ToolStripMenuItem.
Declaration
public ToolStripMenuItem fieldChooserToolStripMenuItem
Field Value
Type |
---|
System.Windows.Forms.ToolStripMenuItem |
grid
To intialize GridDataBoundGrid.
Declaration
public GridDataBoundGrid grid
Field Value
Type |
---|
GridDataBoundGrid |
Properties
DeferLayoutUpdate
Gets or sets a value indicating whether Layout should be updated.
Declaration
public bool DeferLayoutUpdate { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
fieldChooserToolStripMenuItem_Click(Object, EventArgs)
Used to set the FieldChooser items values.
Declaration
public void fieldChooserToolStripMenuItem_Click(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The source control. |
System.EventArgs | e | The System.EventArgs that contains the event data. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If GridDataBoundGrid is not available. |
UnwireGrid()
Unwires the FieldChooser from GridDataBoundGrid.
Declaration
public void UnwireGrid()
WireGrid(GridDataBoundGrid)
Used to set the FieldChooser for GridDataBoundGrid.
Declaration
public void WireGrid(GridDataBoundGrid boundGrid)
Parameters
Type | Name | Description |
---|---|---|
GridDataBoundGrid | boundGrid | The GridDataBoundGrid to wire the FieldChooser. |