property Grid.ViewMode as ViewModeEnum
Specifies how the data is displayed on the control's view.

 TypeDescription 
   ViewModeEnum A ViewModeEnum expression that indicates the way how data is displayed on the control's view.  
By default, the ViewMode property is TableView. Currently, the control supports TableView mode and CardView mode. Use the Add method to add new columns to the control. Use the AddItem method to add new items/cards to your control. Use the PutItems, DataSource method and related to load or bind the control to a data set. 

The TableView mode shows the items as rows in a table.  The user can customize the layout of the fields in the row using the CellFormatLevel property.

The image below shows an example of TableView mode:

The CardView mode represents the view displaying data using cards. The user can customize the layout of the fields in the card or in the title of the card using the ViewModeOption(exCardViewFormat) ViewModeOption(exCardViewTitleFormat) properties. The control allows displaying cards from left to right or top to bottom, auto-arranging, resizing cards, expand or collapse cards support and much more.

The image below shows an example of CardView mode:


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.