LabelStyle Class
TOC
Collapse the table of content
Expand the table of content

LabelStyle Class

.NET Framework (current version)
 

Provides properties that define the visual appearance of the axis labels.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

System.Object
  System.Windows.Forms.DataVisualization.Charting.ChartElement
    System.Windows.Forms.DataVisualization.Charting.LabelStyle

public class LabelStyle : ChartElement

NameDescription
System_CAPS_pubmethodLabelStyle()

Initializes a new instance of the LabelStyle class.

NameDescription
System_CAPS_pubpropertyAngle

Gets or sets a value that represents the angle at which the font is drawn.

System_CAPS_pubpropertyEnabled

Gets or sets a flag that indicates whether the label is enabled.

System_CAPS_pubpropertyFont

Gets or sets the font of the label.

System_CAPS_pubpropertyForeColor

Gets or sets the color of the label.

System_CAPS_pubpropertyFormat

Gets or sets the formatting string for the label text.

System_CAPS_pubpropertyInterval

Gets or sets the size of the label interval.

System_CAPS_pubpropertyIntervalOffset

Gets or sets the offset of the label interval.

System_CAPS_pubpropertyIntervalOffsetType

Gets or sets the unit of measurement of the label interval offset.

System_CAPS_pubpropertyIntervalType

Gets or sets the unit of measurement for the size of a label interval.

System_CAPS_pubpropertyIsEndLabelVisible

Gets or sets a flag that determines whether the labels are shown at axis ends.

System_CAPS_pubpropertyIsStaggered

Gets or sets a flag that determines whether the labels are shown with an offset.

System_CAPS_pubpropertyTag

Gets or sets an object associated with this chart element.(Inherited from ChartElement.)

System_CAPS_pubpropertyTruncatedLabels

Gets or sets a flag that determines whether the labels can be truncated.

NameDescription
System_CAPS_pubmethodDispose()

Releases the resources used by the ChartElement.(Inherited from ChartElement.)

System_CAPS_protmethodDispose(Boolean)

Releases the resources used by the LabelStyle.(Overrides ChartElement.Dispose(Boolean).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified Object is equal to the current ChartElement.(Inherited from ChartElement.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns a hash function for a particular type.(Inherited from ChartElement.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current Object.(Inherited from ChartElement.)

Members of this class are also used to calculate the intervals and positions of the axis labels, and to draw them.

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft