How to: Enable Tile View in a Windows Forms ListView Control Using the Designer

The tile view feature of the ListView control enables you to provide a visual balance between graphical and textual information. The textual information displayed for an item in tile view is the same as the column information defined for details view. Tile view functions in combination with either the grouping or insertion mark features in the ListView control.

The tile view uses a 32 x 32 icon and several lines of text, as shown in the following image.

Tile View in a ListView Control

Tile view properties and methods enable you to specify which column fields to display for each item, and to collectively control the size and appearance of all items within a tile view window. For clarity, the first line of text in a tile is always the item's name; it cannot be changed.

The following procedure requires a Windows Application project with a form containing a ListView control. For information about setting up such a project, see How to: Create a New Windows Forms Application Project and How to: Add Controls to Windows Forms.

Note

The tile view is available only on Windows XP Home Edition, Windows XP Professional, Windows Server 2003 when your application calls the Application.EnableVisualStyles method. On earlier operating systems, any code related to the tile view has no effect, and the ListView control displays in the large icon view. For more information, see ListView.View.

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Working with Settings.

To set tile view in the designer

  1. Select the ListView control on your form.

  2. In the Properties window, select the View property and choose Tile.

See Also

Reference

ListView Control Overview (Windows Forms)

TileSize

Concepts

Windows XP Features and Windows Forms Controls