Rediger

Del via


Axis.LineColor Property

Definition

Gets or sets the line color of an axis.

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

Property Value

A Color object that represents the line color used to draw the axis. The default is Black.

Attributes

Remarks

Use the LineColor property to specify the line color of an axis.

Note If an axis is not enabled but an adjacent axis is using grid lines, one of those grid lines will be displayed in place of the axis that is not enabled. The same situation will occur if the Enabled property of an axis is set to Auto. In this case, the axis is not being used to plot data, and the grid line of an adjacent axis will be drawn instead.

Applies to