Version

GroupByMode Enumeration

Enum used for specifying the UltraGridColumn.GroupByMode property.
Syntax
'Declaration
 
Public Enum GroupByMode 
   Inherits System.Enum
public enum GroupByMode : System.Enum 
Members
MemberDescription
DateThe groups are based on the date portion of DateTime values found in the column's cells. The column's UltraGridColumn.DataType must be System.DateTime for this mode to work properly.
DefaultThe default mode.
First2CharactersThe groups are based on the first two characters of the cell text. This option is intended to be used when the column’s data type is String.
First3CharactersThe groups are based on the first three characters of the cell text. This option is intended to be used when the column’s data type is String.
First4CharactersThe groups are based on the first four characters of the cell text. This option is intended to be used when the column’s data type is String.
FirstCharacterThe groups are based on the first character of the cell text. This option is intended to be used when the column’s data type is String.
HourThe groups are based on the date and hour portions of DateTime values found in the column's cells. The column's UltraGridColumn.DataType must be System.DateTime for this mode to work properly.
MinuteThe groups are based on the date, hour, and minute portions of DateTime values found in the column's cells. The column's UltraGridColumn.DataType must be System.DateTime for this mode to work properly.
MonthThe groups are based on the year and month portions of DateTime values found in the column's cells. The column's UltraGridColumn.DataType must be System.DateTime for this mode to work properly.
OutlookDateThe groups are created in the same way that Outlook 2003 creates groups for dates. The column's UltraGridColumn.DataType must be System.DateTime for this mode to work properly.
QuarterThe groups are based on the quarter and year that the cell values are in. The column's UltraGridColumn.DataType must be System.DateTime for this mode to work properly.
SecondThe groups are based on the date, hour, minute, and second portions of DateTime values found in the column's cells. The column's UltraGridColumn.DataType must be System.DateTime for this mode to work properly.
TextThe groups are based on the text of the cells, not their values.
ValueThe groups are based on the value of the cells, not their text. Note, the description of each groupby row will use the text of the cell by default.
YearThe groups are based on the year portion of DateTime values found in the column's cells. The column's UltraGridColumn.DataType must be System.DateTime for this mode to work properly.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also