constants DefColumnEnum
The Def property retrieves or sets a value that indicates the default value of given properties for all cells in the same column.

NameValueDescription
exCellHasCheckBox0 Assigns check boxes to all cells in the column, if it is True. Similar with the CellHasCheckBox property. 

(Boolean expression, False)

exCellHasRadioButton1 Assigns radio buttons to all cells in the column, if it is True. Similar with the CellHasRadioButton property.

(Boolean expression, False)

exCellHasButton2 Specifies that all cells in the column are buttons, if it is True. Similar with the CellHasButton property.

(Boolean expression, False)

exCellButtonAutoWidth3 Specifies that all buttons in the column fit the cell's caption, if it is True. Similar with the CellButtonAutoWidth property.

(Boolean expression, False)

exCellBackColor4 Specifies the background color for all cells in the column. Use the CellBackColor property to assign a background color for a specific cell. The property has effect only if the property is different than zero. 

( Long expression )

exCellForeColor5 Specifies the foreground color for all cells in the column. Use the CellForeColor property to assign a foreground color for a specific cell. The property has effect only if the property is different than zero. 

( Long expression )

exCellVAlignment6 Specifies the column's vertical alignment. By default, the Def(exCellVAlignment) property is exMiddle. Use the CellVAlignment property to specify the vertical alignment for a particular cell. 

( VAlignmentEnum expression, exMiddle )

exHeaderBackColor7 Specifies the column's header background color. The property has effect only if the property is different than zero. Use this option to change the background color for a column in the header area. The exHeaderBackColor option supports skinning, so the last 7 bits in the high significant byte of the color to indicates the identifier of the skin being used. Use the Add method to add new skins to the control. 

( Color expression )

exHeaderForeColor8 Specifies the column's header background color. The property has effect only if the property is different than zero. 

( Color expression )

exCellSingleLine16 Specifies that all cells in the column displays its content into single or multiple lines. Similar with the CellSingleLine property. If using the CellSingleLine / Def(exCellSingleLine) property, we recommend to set the ScrollBySingleLine property on True so all items can be scrolled.

( CellSingleLineEnum type, previously Boolean expression )

exCellValueFormat17 Similar with the CellValueFormat property, 

( ValueFormatEnum expression, exText )

exTotalColumn20 Specifies a formula that defines the total fields applied to all unformatted and non-leaf cells within the column. This option is effective when displaying hierarchical data, allowing aggregate functions like sum or count to be shown for parent items. Essentially, the exTotalColumn option applies a consistent formula to all unformatted and non-leaf cells within the column. A cell is considered unformatted if its FormatCell property is empty. The ItemHasChildren property indicates whether an item has one or more child items. The formula should be of aggregate(list,direction,formula) format as defined in exTotalField of ValueFormatEnum type. The CellValueFormat property on exTotalField specifies that a particular cell displays an aggregate function.

For instance:

  • count(current,dir,1) counts the number of child items ( not implies recursively child items ).
  • count(current,all,1) counts the number of all child items ( implies recursively child items ).
  • count(current,rec,1) counts the number of leaf items ( implies recursively leaf items ).
  • count(current,rec,1) counts the number of leaf items ( a leaf item is an item with no child items ).
  • sum(parent,dir,%1=0?0:1) counts the not-zero values in the second column (%1)
  • sum(parent,dir,%1 + %2) indicates the sum of all cells in the second (%1) and third (%2) column that are directly descendent from the parent item. 
  • sum(all,rec,%1 + %2) sums all leaf cells in the second (%1) and third (%2) columns.

( String expression )

exCellFormatLevel32 Specifies the format layout for the cells. The CellFormatLevel property indicates the format layout for a specified cell. Use the FormatLevel property to specify the layout of the column in the control's header bar. 

( CRD string expression )

exCellOwnerDraw33 Assigns an owner draw object for the entire column. Use the CellOwnerDraw property to assign an owner draw object to a single cell. 

( an object that implements the IOwnerDrawHandler interface )

exCellDrawPartsOrder34 Specifies the order of the drawing parts for the entire column. By default, this option is "check,icon,icons,picture,caption", which means that the cell displays its parts in the following order: check box/ radio buttons ( CellHasCheckBox/CellRadioButton ), single icon ( CellImage ), multiple icons ( CellImages ), custom size picture ( CellPicture ), and the cell's caption. Use the exCellDrawPartsOrder option to specify a new order for the drawing parts in the cells of the column. The RightToLeft property automatically flips the order of the columns. 

( String expression, "check,icon,icons,picture,caption" )

exCellPaddingLeft48 Gets or sets the left padding (space) of the cells within the column.

( Long expression )

exCellPaddingRight49 Gets or sets the right padding (space) of the cells within the column.

( Long expression )

exCellPaddingTop50 Gets or sets the top padding (space) of the cells within the column.

( Long expression )

exCellPaddingBottom51 Gets or sets the bottom padding (space) of the cells within the column.

( Long expression )

exHeaderPaddingLeft52 Gets or sets the left padding (space) of the column's header.

( Long expression )

exHeaderPaddingRight53 Gets or sets the right padding (space) of the column's header.

( Long expression )

exHeaderPaddingTop54 Gets or sets the top padding (space) of the column's header.

( Long expression )

exHeaderPaddingBottom55 Gets or sets the bottom padding (space) of the column's header.

( Long expression )

exColumnResizeContiguously64 Gets or sets a value that indicates whether the control's content is updated while the user is resizing the column.

( Boolean expression, False )