'Declaration Public Overridable Property IsMainColumn As Boolean
'Usage Dim instance As ColumnBase Dim value As Boolean instance.IsMainColumn = value value = instance.IsMainColumn
public virtual bool IsMainColumn {get; set;}
'Declaration Public Overridable Property IsMainColumn As Boolean
'Usage Dim instance As ColumnBase Dim value As Boolean instance.IsMainColumn = value value = instance.IsMainColumn
public virtual bool IsMainColumn {get; set;}
When a grid is in a card-view layout, the data displayed in a card's title is determined by a grid's main (primary) column. The content of the cell whose field name matches the field name of the main column will be displayed in the corresponding card's title. If left unmodified, the main column will be the first column that is added to a grid's Columns collection; however, the main column can be changed by setting a column's IsMainColumn property to true.
The CellContentTemplate of the main column is also used to display the default content of the scrolltip.
When a grid uses a TreeGridflowView, the column identified as being the "main" column (by setting this property to true) will display its data using a tree structure. In other words, in details the data of the cells associated with this column will be slightly indented.
Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2