Gets or sets the width of the top border.
[Visual Basic]
Public Property Top As Integer
[C#]
public int Top {get;set;}
[Delphi]
public property Top: Int32 read get_Top write set_Top;
Example
The following example sets the width of the top border:
Me.C1TrueDBGrid1.Splits(0).DisplayColumns(Me.C1TrueDBGrid1.Col).Style.Borders.Top = 2
· C#
this.c1TrueDBGrid1.Splits[0].DisplayColumns[this.c1TrueDBGrid1.Col].Style.Borders.Top = 2;
· Delphi
Self.C1TrueDBGrid1.Splits[0].DisplayColumns[Self.C1TrueDBGrid1.Col].Style.Borders.Top := 2;
For an example using the Top property, see Tutorial 22 - Borders, Scroll Tracking, and Scroll Tips.
See Also
GridBorders Class | GridBorders Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |