Grouping in ListView for C# Windows Forms
Kettic ListView WinForms Control provides the support of grouping items in ListView for C#.NET Windows Forms applications. It allows the users to create automatic grouping and custom grouping according to a certain property. Furthermore, the grouping functionality can be performed in all views in ListView control. The grouping mechanism for ListView makes it easy to use the component for .NET project being deployed on other C#.NET applications. It is really easy to perform the grouping operations on the fly when the users exposed event for grouping items.
How to Enable Grouping for ListView in C#
Kettic ListView .NET component allows the users to create automatic grouping and custom grouping according to a certain property. To create automatic grouping for ListView in C#.NET, the users need to first enable the properties, EnableGrouping and DisplayGroups and then add the desired GroupDescriptors to the GroupDescriptors collection of the ListView component. The following C# code demonstrates how to group items according to various properties. How to Group ListView Items by Value in C#.NET
C# code for grouping items in ListView by value property
How to Group ListView Items by Value in C#.NET
The following C# code shows how to group items by a specific column in ListView control. In the example, we will use the DetailsView property.
How to Group ListView Items by Value in C#.NET
The KetticListView control provides the support of creating custom grouping feature based on a specific property. This is accomplished by busing the EnableCustomGrouping property and adding the desired descriptor. The C# code below demonstrates how to perform the custom grouping in ListView control.
How to Group Bound Items in ListView in C#.NET
When the users bind the ListView to a data source, and need to group the items, they can use the ItemDataBound event to achieve this. After firing the ItemDataBound event, they need to assign certain items from the data to a certain group. Then the grouping data items in ListView can be done. |
UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlGet Started in C#ListView - View TypesListView - Design TimeAdd ColumnsAdd GroupsAdd ItemsListView - FeaturesItem Selection & SizingFilteringGroupingSortingListView - Data BindingPopulating with DataCheckbox & EditorCustom ItemsWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |