Listed below are the properties which control the behavior of the columns when used with the Column Chooser:
AllowColumnChooser - this property determines whether the Column Chooser is available in the template.
By default this property is set to true for all templates
Copy[C#] Enable or Disable ColumnChooser
radGridView1.MasterTemplate.AllowColumnChooser = false;
Copy[VB.NET] Enable or Disable ColumnChooser
RadGridView1.MasterTemplate.AllowColumnChooser = False
AllowHide – this property determines whether the column is allowed to be moved to the Column Chooser.
By default this property is set to true for all columns
Copy[C#] Determines if the specified column is allowed to be dragged to the column chooser dialog
radGridView1.Columns["CategoryName"].AllowHide = false;
Copy[VB.NET] Determines if the specified column is allowed to be dragged to the column chooser dialog
RadGridView1.Columns("CategoryName").AllowHide = FalseVisibleInColumnChooser – by setting this property for each column you determine whether the column will be visible in
the Column Chooser when dragged to it. By default this property is set to true for all columns:
Copy[C#] Determines if the specified column is going to be visible in the column chooser dialog
radGridView1.Columns["Picture"].VisibleInColumnChooser = false;
Copy[VB.NET] Determines if the specified column is going to be visible in the column chooser dialog
RadGridView1.Columns("Picture").VisibleInColumnChooser = False
In order to customize the Column Chooser you can access it directly from the instance of radGridView, as shown in the following example:
Copy[C#] Accessing and customizing the column chooser
radGridView1.ColumnChooser.DesktopLocation = new Point(100,100);
radGridView1.ColumnChooser.Font = new Font("Segoe", 15, FontStyle.Bold);
Copy[VB.NET] Accessing and customizing the column chooser
RadGridView1.ColumnChooser.DesktopLocation = New Point(100, 100)
RadGridView1.ColumnChooser.Font = New Font("Segoe", 15, FontStyle.Bold)