ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

GroupInfo.OutlineMode Property

Gets or sets the initial expanded/collapsed state of the grouped row.

[Visual Basic]

Public Property OutlineMode As OutlineModeEnum

[C#]

public OutlineModeEnum OutlineMode {get;set;}

[Delphi]

public property OutlineMode: OutlineModeEnum read get_OutlineMode write set_OutlineMode;

Example

The following code sets the initial state of the Country column to expanded when grouped:

·      Visual Basic

       Me.C1TrueDBGrid1.Columns("Country").GroupInfo.OutlineMode = C1.Win.C1TrueDBGrid.OutlineModeEnum.StartExpanded

·      C#

       this.c1TrueDBGrid1.Columns["Country"].GroupInfo.OutlineMode = C1.Win.C1TrueDBGrid.OutlineModeEnum.StartExpanded;

·      Delphi

       Self.C1TrueDBGrid1.Columns['Country'].GroupInfo.OutlineMode := C1.Win.C1TrueDBGrid.OutlineModeEnum.StartExpanded;

See Also

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


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