Grid.LineColor Property

Definition

Gets or sets the line color of a grid.

public:
 property System::Drawing::Color LineColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))]
public System.Drawing.Color LineColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
member this.LineColor : System.Drawing.Color with get, set
Public Property LineColor As Color

Property Value

A Color object. The default value is Black.

Attributes

Remarks

The LineColor property is used to specify the color of major and minor tick marks or grids.

Applies to