Xceed DataGrid for WPF v7.2 Documentation
SetAllowColumnChooser Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace > UIViewBase Class : SetAllowColumnChooser Method
The dependency object to which the attached property is written.
true if the column-chooser context menu is enabled; false otherwise. By default, true if a Professional 3.1 license key is used and false if an Express license key is used.
Sets a value indicating whether the column-chooser context menu is enabled.
Syntax
'Declaration
 
Public Shared Sub SetAllowColumnChooser( _

   ByVal obj As DependencyObject, _

   ByVal value As Boolean _

) 
'Usage
 
Dim obj As DependencyObject

Dim value As Boolean

 

UIViewBase.SetAllowColumnChooser(obj, value)
public static void SetAllowColumnChooser( 

   DependencyObject obj,

   bool value

)

Parameters

obj
The dependency object to which the attached property is written.
value
true if the column-chooser context menu is enabled; false otherwise. By default, true if a Professional 3.1 license key is used and false if an Express license key is used.
Requirements

Target Platforms: Windows 11, Windows, 10, 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

UIViewBase Class
UIViewBase Members