Grid.LineColor 属性

定义

获取或设置网格线颜色。

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))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Drawing.Color LineColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.LineColor : System.Drawing.Color with get, set
Public Property LineColor As Color

属性值

Color

Color 对象。 默认值是 Black

属性

注解

LineColor属性用于指定主要和次要刻度线或网格的颜色。

适用于