ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.Rows Property

Gets the collection of Rows displayed in the Split.

[Visual Basic]

Public ReadOnly Property Rows As ViewRowList

[C#]

public ViewRowList Rows {get;}

[Delphi]

public property Rows: ViewRowList read get_Rows;

Example

The following example accesses the first row in the first split of the grid and sets its height to 50:

·      Visual Basic

       Me.C1TrueDBGrid1.AllowRowSizing = RowSizingEnum.IndividualRows

       Me.C1TrueDBGrid1.Splits(0).Rows(0).Height = 50

·      C#

       this.c1TrueDBGrid1.AllowRowSizing = RowSizingEnum.IndividualRows;

       this.c1TrueDBGrid1.Splits[0].Rows[0].Height = 50;

·      Delphi

       Self.C1TrueDBGrid1.AllowRowSizing := Self.RowSizingEnum.IndividualRows;

       Self.C1TrueDBGrid1.Splits[0].Rows[0].Height := 50;

See Also

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


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