ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1DataColumn.GroupInfo Property

Gets or sets the GroupInfo associated with this column.

[Visual Basic]

Public Property GroupInfo As GroupInfo

[C#]

public GroupInfo GroupInfo {get;set;}

[Delphi]

public property GroupInfo: GroupInfo read get_GroupInfo write set_GroupInfo;

Example

The following code uses the GroupInfo property to set the position of the grouped row:

·      Visual Basic

       Me.C1TrueDBGrid1.Columns(0).GroupInfo.Position = C1.Win.C1TrueDBGrid.GroupPositionEnum.Header

·      C#

       this.c1TrueDBGrid1.Columns[0].GroupInfo.Position = C1.Win.C1TrueDBGrid.GroupPositionEnum.Header;

·      Delphi

       Self.C1TrueDBGrid1.Columns[0].GroupInfo.Position := C1.Win.C1TrueDBGrid.GroupPositionEnum.Header;

See Also

C1DataColumn Class | C1DataColumn Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.