Skip to main content
A newer version of this page is available. .

GridLines Members

Defines the settings of grid lines.

Properties

Name Description
Color Gets or sets the color of major grid lines.
IsDisposed Gets a value indicating whether the control has been disposed of. Inherited from ChartElement.
LineStyle Gets the style settings of the major grid lines.
MinorColor Gets or sets the color of minor grid lines.
MinorLineStyle Gets the style settings of the minor grid lines.
MinorVisible Gets or sets a value indicating whether the minor grid lines are displayed by an axis.
Tag Gets or sets the object that contains data related to the chart element. Inherited from ChartElement.
Visible Specifies whether the grid lines are visible.

Methods

Name Description
Assign(ChartElement) Copies all the settings from the GridLines object passed as the parameter.
Clone() Creates a copy of the current ChartElement object. Inherited from ChartElement.
Dispose() Disposes of the ChartElement object. Inherited from ChartElement.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the textual representation of the grid lines.
See Also