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 Design
WinForms UI Controls