ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

GridBorders.Right Property

Gets or sets the width of the right border.

[Visual Basic]

Public Property Right As Integer

[C#]

public int Right {get;set;}

[Delphi]

public property Right: Int32 read get_Right write set_Right;

Example

The following example sets the width of the right border:

·      Visual Basic

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

·      C#

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

·      Delphi

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

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