ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

GridBorders.Left Property

Gets or sets the width of the left border.

[Visual Basic]

Public Property Left As Integer

[C#]

public int Left {get;set;}

[Delphi]

public property Left: Int32 read get_Left write set_Left;

Example

The following example sets the width of the left border:

·      Visual Basic

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

·      C#

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

·      Delphi

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

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