ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

GroupInfo.Position Property

Gets or sets the position of the grouped row.

[Visual Basic]

Public Property Position As GroupPositionEnum

[C#]

public GroupPositionEnum Position {get;set;}

[Delphi]

public property Position: GroupPositionEnum read get_Position write set_Position;

Example

The following code sets the position of the grouped columns to contain a header and footer row:

·      Visual Basic

       Me.C1TrueDBGrid1.Columns("First").GroupInfo.Position = C1.Win.C1TrueDBGrid.GroupPositionEnum.HeaderAndFooter

·      C#

       this.c1TrueDBGrid1.Columns["First"].GroupInfo.Position = C1.Win.C1TrueDBGrid.GroupPositionEnum.HeaderAndFooter;

·      Delphi

       Self.C1TrueDBGrid1.Columns['First'].GroupInfo.Position := C1.Win.C1TrueDBGrid.GroupPositionEnum.HeaderAndFooter;

See Also

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


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