Grid.LineDashStyle 属性
定义
获取或设置网格的线型。Gets or sets the line style of a grid.
public:
property System::Windows::Forms::DataVisualization::Charting::ChartDashStyle LineDashStyle { System::Windows::Forms::DataVisualization::Charting::ChartDashStyle get(); void set(System::Windows::Forms::DataVisualization::Charting::ChartDashStyle value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.ChartDashStyle LineDashStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.LineDashStyle : System.Windows.Forms.DataVisualization.Charting.ChartDashStyle with get, set
Public Property LineDashStyle As ChartDashStyle
属性值
一个 ChartDashStyle 枚举值。A ChartDashStyle enumeration value. 默认为 Solid。The default is Solid.
- 属性
注解
LineDashStyle属性可用于指定主要和次要刻度线或网格的线条样式。The LineDashStyle property can be used to specify the line style of major and minor tick marks or grids. 该行可以是纯色、点线等。The line can be solid, dotted, and so forth.