Grid.LineWidth Property

Definition

Gets or sets the line width of major and minor grid lines.

C#
[System.ComponentModel.Bindable(true)]
public int LineWidth { get; set; }

Property Value

An integer that represents the line width in pixels. The default value is one (1).

Attributes

Remarks

The LineWidth property can be used to specify the line width, in pixels, of major and minor tick marks or grids.

Applies to

Produkt Versiounen
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1