Private Sub Display_Vertical_Borders_in_Columns_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load Me.UltraGrid1.DisplayLayout.Override.CellAppearance.BorderColor = Color.Red End Sub
The following code demonstrates how to use the BorderColor property of the Cell’s Appearance to display vertical lines for column borders.
In Visual Basic:
Private Sub Display_Vertical_Borders_in_Columns_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load Me.UltraGrid1.DisplayLayout.Override.CellAppearance.BorderColor = Color.Red End Sub
In C#:
private void Display_Vertical_Borders_in_Columns_Load(object sender, EventArgs e) { this.ultraGrid1.DisplayLayout.Override.CellAppearance.BorderColor = Color.Red; }