Gets or sets the type of border.
[Visual Basic]
Public Property BorderType As BorderTypeEnum
[C#]
public BorderTypeEnum BorderType {get;set;}
[Delphi]
public property BorderType: BorderTypeEnum read get_BorderType write set_BorderType;
Example
The following example sets the border appearance to raised border type:
Me.C1TrueDBGrid1.Splits(0).DisplayColumns(Me.C1TrueDBGrid1.Col).Style.Borders.BorderType = C1.Win.C1TrueDBGrid.BorderTypeEnum.Raised
· C#
this.c1TrueDBGrid1.Splits[0].DisplayColumns[this.c1TrueDBGrid1.Col].Style.Borders.BorderType = C1.Win.C1TrueDBGrid.BorderTypeEnum.Raised;
· Delphi
Self.C1TrueDBGrid1.Splits[0].DisplayColumns[Self.C1TrueDBGrid1.Col].Style.Borders.BorderType := C1.Win.C1TrueDBGrid.BorderTypeEnum.Raised;
For an example using the BorderType 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. |