Grid.LineWidth 属性

定义

获取或设置主要网格线和次要网格线的线条宽度。Gets or sets the line width of major and minor grid lines.

public:
 property int LineWidth { int get(); void set(int value); };
[System.ComponentModel.Bindable(true)]
public int LineWidth { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.LineWidth : int with get, set
Public Property LineWidth As Integer

属性值

Int32

一个表示线条宽度(以像素为单位)的 integerAn integer that represents the line width in pixels. 默认值为 1(一)。The default value is one (1).

属性

注解

LineWidth属性可用于指定主要和次要刻度线或网格的线条宽度(以像素为单位)。The LineWidth property can be used to specify the line width, in pixels, of major and minor tick marks or grids.

适用于