ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGrid Class / CanUserGroup Property

In This Topic
    CanUserGroup Property (C1DataGrid)
    In This Topic
    Gets or sets a value indicating whether the user is able to change groups by dragging column headers over the grouping area, removing groups pressing the remove button of each grouped column element inside the grouping area, or change the order of the groups clicking the grouped column element itself.
    Syntax
    'Declaration
     
    
    Public Property CanUserGroup As Boolean
    public bool CanUserGroup {get; set;}
    Remarks
    If you want to show the grouping panel but you want to prevent the user from changing the groups, set ShowGroupingPanel to true and set this property to false.
    See Also