Property LineColor
- Namespace
- Alternet.FormDesigner.WinForms
- Assembly
- Alternet.FormDesigner.v9.dll
LineColor
public Color LineColor { get; set; }
Property Value
Examples
Here is how to use a LineColor in the C# code:
public partial class Form1 : Form
{
private void Form1_Load(object sender, EventArgs e)
{
var propertyGrid = new Alternet.FormDesigner.WinForms.PropertyGridControl();
propertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
propertyGrid.FormDesignerControl = designer;
propertyGrid.LineColor = System.Drawing.SystemColors.Control;
}
}
Here is how to use a LineColor in the Visual Basic code:
Imports System
Partial Public Class Form1
Inherits Form
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
Dim propertyGrid = New Alternet.FormDesigner.WinForms.PropertyGridControl()
propertyGrid.Dock = Windows.Forms.DockStyle.Fill
propertyGrid.FormDesignerControl = designer
propertyGrid.LineColor = Drawing.SystemColors.Control
End Sub
End Class
Remarks
LineColor gets or sets the color of the gridlines and borders.