WinExplorerView Class
Displays records using one of seven styles supported by MS Windows Explorer - Small, Medium, Large, Extra Large, List, Tiles and Content.
Namespace: DevExpress.XtraGrid.Views.WinExplorer
Assembly: DevExpress.XtraGrid.v19.1.dll
Declaration
public class WinExplorerView :
ColumnView,
IContextItemCollectionOwner,
IContextItemCollectionOptionsOwner,
ISupportAsyncScrollAnimation,
IAccessibleGrid
Related API Members
The following members return WinExplorerView objects:
Remarks
The WinExplorer View is a GridControl View inspired by Windows Explorer. To start working with this View, you need to specify the column set and choose the view style.
View Styles
The WinExplorer View features seven unique display modes or styles for its records. These styles specify what data each record shows and how it is presented on-screen. To select the currently active view style, utilize the WinExplorerViewOptionsView.Style property.
Additional settings for each style are stored within corresponding sub-groups of the WinExplorerView.OptionsViewStyles property section. To modify global settings common to all view styles, access the WinExplorerView.OptionsView property instead.
Column Set
Unlike other Data Grid Views, the WinExplorer View shows data from only four GridColumns.
- Item title - assign a grid column with record titles to the WinExplorerViewColumns.TextColumn property.
- Item description - assign a grid column with record description strings to the WinExplorerViewColumns.DescriptionColumn property.
- Item image - depending on the image size, assign this column to the WinExplorerViewColumns.SmallImageColumn, WinExplorerViewColumns.MediumImageColumn, WinExplorerViewColumns.LargeImageColumn or WinExplorerViewColumns.ExtraLargeImageColumn property.
- Check boxes - assign a grid column with boolean values to the WinExplorerViewColumns.CheckBoxColumn property.
Two additional ColumnSet properties allow you to group data and display specific records as disabled.
- Assign a grid column to the WinExplorerViewColumns.GroupColumn property to group all records by this column’s values.
- The WinExplorerViewColumns.EnabledColumn property accepts a grid column with boolean values. Records with false values will be painted as disabled.
The following figure illustrates these data fields displayed within a WinExplorer View in “Tiles” view style.
Advanced Concepts
See the following links to learn more about the WinExplorer View.
Item Customization
Learn how to additionally customize records in specific view styles.
Context Buttons
Explains how to add clickable buttons to your data records. It is recommended that you add context buttons only to items displayed in the ExtraLarge style.