Show: Delphi C++
Display Preferences

Vcl.ComCtrls.TViewStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TViewStyle = (vsIcon, vsSmallIcon, vsList, vsReport);

C++

enum DECLSPEC_DENUM TViewStyle : unsigned char { vsIcon, vsSmallIcon, vsList, vsReport };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls Vcl.ComCtrls

Description

TViewStyle indicates how a list view control displays its items.


TViewStyle can have one of the following values:

Value Meaning

vsIcon

Each item appears as a full-sized icon with a label below it. The user can drag the items to any location in the list view window.

vsSmallIcon

Each item appears as a small icon with the label to the right of it. The user can drag the items to any location.

vsList

Each item appears as a small icon with a label to the right of it. Items are arranged in columns and cannot be dragged by the user.

vsReport

Each item appears on its own line with information arranged in columns. The leftmost column contains the small icon and label, and subsequent columns contain subitems as specified by the application. Unless ShowColumnHeaders is false, each column has a header.

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance