ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

GridBorders.Bottom Property

Gets or sets the width of the bottom border.

[Visual Basic]

Public Property Bottom As Integer

[C#]

public int Bottom {get;set;}

[Delphi]

public property Bottom: Int32 read get_Bottom write set_Bottom;

Example

The following example sets the width of the bottom border:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(0).DisplayColumns(Me.C1TrueDBGrid1.Col).Style.Borders.Bottom = 2

·      C#

       this.c1TrueDBGrid1.Splits[0].DisplayColumns[this.c1TrueDBGrid1.Col].Style.Borders.Bottom = 2;

·      Delphi

       Self.C1TrueDBGrid1.Splits[0].DisplayColumns[Self.C1TrueDBGrid1.Col].Style.Borders.Bottom := 2;

For an example using the Bottom 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.