View Types of ListView Control
Kettic ListView control for Windows Forms provides large flexibilities for developers to customize the control as their needs. It is easy to bind and customize the ListView control to represent and edit list data in their C# Windows Forms applications. For example, the ListView control offers three types of views, SimpleListView, IconView or DetailView, for users to visualize the data as necessary.
How to Customize Views of ListView Control
Kettic ListView .NET Component includes three View Types, ListView, IconsView, and DetailsView, which are the basic views provided by Windows Explorer. However, the Kettic ListView control provides extended functionalities to the views and allows the users to customize the appearance of the ListView as necessary. List View Type
This ListView view type resembles the appearance of the KetticListControl and uses the engine of the Kettic ListView control. For example, this view type uses the checkboxes, editors, and images from the ListView control. The ListView view type is made of vertical stacked list items. Icons View Type
This view type will show the list items in icons, which is also the common view provided by Windows Explorer. This Icons view type allows the users to customize the icons direction that will be displayed by using the Orientation property included. Detail View Type
The detail view type will display the items details in a grid interfaces in multiple data fields. Furthermore, this view type will allows the users to resize the columns by using the ApplyColumnsResize property, reorder columns by using the ApplyColumnReorder, customize the column size, and visualize the columns that will be displayed for users. How to Customize View Types in C#
To customize the views for ListView control, we need to handle the ChangedViewType event. This event is able to set view specific settings. There are three methods available to handle the event, SetupDetailsView, SetupIconsView, and SetupSimpleListView. In the event handler, simply check the new view and call the corresponding method. The C# code below demonstrate how to handle the view types methods.
| ![]() 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 |