ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1.Win.C1TrueDBGrid.Style.Borders Property

Gets the GridBorders associated with this Style.

[Visual Basic]

Public ReadOnly Property Borders As GridBorders

[C#]

public GridBorders Borders {get;}

[Delphi]

public property Borders: GridBorders read get_Borders;

Example

The following code sets the cell borders to BorderTypeEnum.Groove using the Borders property:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(0).Style.Borders.BorderType = C1.Win.C1TrueDBGrid.BorderTypeEnum.Groove

·      C#

       this.c1TrueDBGrid1.Splits[0].Style.Borders.BorderType = C1.Win.C1TrueDBGrid.BorderTypeEnum.Groove;

·      Delphi

       Self.C1TrueDBGrid1.Splits[0].Style.Borders.BorderType := C1.Win.C1TrueDBGrid.BorderTypeEnum.Groove;

See Also

C1.Win.C1TrueDBGrid.Style Class | C1.Win.C1TrueDBGrid.Style Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.