Class that provides a UI for manipulating groups in a C1FlexGrid control that is bound to an ICollectionView.

Namespace:  C1.Silverlight.FlexGrid
Assembly:  C1.Silverlight.FlexGrid.GroupPanel.4 (in C1.Silverlight.FlexGrid.GroupPanel.4.dll)

Syntax

C#
public class C1FlexGridGroupPanel : Grid
Visual Basic
Public Class C1FlexGridGroupPanel _
	Inherits Grid

Remarks

The C1FlexGridGroupPanel is an independent element that is connected to a C1FlexGrid through the FlexGrid property.

The C1FlexGridGroupPanel shows a panel and allows users to create groups by dragging column headers into the panel. Users can reorder the groups by dragging the group markers, or sort and remove groups by clicking the group markers.

The appearance of the group markers is automatically determined by the grid that is connected to the C1FlexGridGroupPanel. You don't have to select any fonts or brushes.

The XAML below shows how you would create a C1FlexGridGroupPanel and connect it to a grid:

Copy CodeC#
<!-- Add grouping UI to the _flex control -->
            <c1:C1FlexGridGroupPanel 
              x:Name="_groupPanel" Grid.Row="0" Background="WhiteSmoke"
              FlexGrid="{Binding ElementName=_flex}"
              WatermarkText="Drag column headers here to create groups."
              MaxGroups="8"
              HideGroupedColumns="True"
              DragMarkerColor="#312DFF" />

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Panel
          System.Windows.Controls..::..Grid
            C1.Silverlight.FlexGrid..::..C1FlexGridGroupPanel

See Also