Populating with Data in ListView Control in C#.NET
Kettic ListView .NET control is capable of binding to data source to display those data. There are three properties available for the users to bind ListView to data, the DataSource, ShowMember, and ValueMember. The DataSource property is used to specify the data source that the ListView will be bound to, the ShowMember displays the specific data in a ListView, and the ValueMember returns the value of a ListView from the specific data.
How to Insert Items to ListView in C#.NET
To add items to ListView control in C#.NET, we need to use the Item property, which allows the users to access the columns of Kettic ListView in a collection. The Add method will be able to add columns to Kettic ListView control. The C# code below shows how to accomplish this.
How to Add Columns to ListView in C#.NET
Kettic ListView control contains the Columns property for the users to access to the columns of Kettic ListView in a collection. If we add columns to the Kettic ListView control, we need to use one of the overloads of the Add method and the column should have the unique name to distinguish each other.
How to Populate Cells in ListView in C#.NET
The following is the C# code that demonstrates how to populate cells in ListView in C#.NET. Here, we need to add the item to the ListView component before assigning values to cells.
How to Add Groups to ListView in C#.NET
Kettic ListView control is capable of adding groups not only by using GroupDescriptors, but also adding custom groups. This can be accomplished through the Add method of the Groups collection of Kettic ListView component. The C# code below shows how to add groups to ListView control.
And the C# code below demonstrates how to assign an item to a group by setting the itemâs Group property.
The custom grouping can be enabled by change the value of the EnableCustomGrouping property to true and the groups can be shown by enabling the DisplayGroups property. | ![]() 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 |