編輯

共用方式為


Grid.LineWidth Property

Definition

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)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public int LineWidth { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.LineWidth : int with get, set
Public Property LineWidth As Integer

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