ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.RowDivider Property

Gets or sets the style of the border drawn between grid rows.

[Visual Basic]

Public Property RowDivider As C1.Win.C1TrueDBGrid.Util.GridLines

[C#]

public C1.Win.C1TrueDBGrid.Util.GridLines RowDivider {get;set;}

[Delphi]

public property RowDivider: C1.Win.C1TrueDBGrid.Util.GridLines read get_RowDivider write set_RowDivider;

Remarks

The Style property of RowDivider does not control whether rows can be resized by dragging their border. Use the AllowRowSizing property to control this behavior.

Example

The following code sets the RowDivider property to LineStyleEnum.Inset:

·      Visual Basic

       Me.C1TrueDBGrid1.RowDivider.Style = C1.Win.C1TrueDBGrid.LineStyleEnum.Inset

·      C#

       this.c1TrueDBGrid1.RowDivider.Style = C1.Win.C1TrueDBGrid.LineStyleEnum.Inset;

·      Delphi

       Self.C1TrueDBGrid1.RowDivider.Style := C1.Win.C1TrueDBGrid.LineStyleEnum.Inset;

See Also

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


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