Edytuj

Udostępnij za pośrednictwem


TickMark.TickMarkStyle Property

Definition

Gets or sets the tick mark style.

public:
 property System::Windows::Forms::DataVisualization::Charting::TickMarkStyle TickMarkStyle { System::Windows::Forms::DataVisualization::Charting::TickMarkStyle get(); void set(System::Windows::Forms::DataVisualization::Charting::TickMarkStyle value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.TickMarkStyle TickMarkStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.TickMarkStyle : System.Windows.Forms.DataVisualization.Charting.TickMarkStyle with get, set
Public Property TickMarkStyle As TickMarkStyle

Property Value

A TickMarkStyle enumeration value. The default value is OutsideArea.

Attributes

Remarks

The TickMarkStyle property determines the style of tick marks.

Tick marks can be drawn inside the chart area, outside the chart area, across an axis line, or can be disabled.

To display tick marks for three-dimensional (3D) charts so that they are just drawn for the width of a wall, set the TickMarkStyle property to TickMarkStyle.AcrossAxis. Then specify a tick mark size of zero (0) using the Size property.

If the TickMarkStyle property is set to TickMarkStyle.None, tick marks are not displayed. Tick marks can also be toggled on or off by setting the Enabled property to true or false.

Applies to