TickLength

Gets or Sets the length of the Ticks.

 

Type: Double

Namespace: Visifire.Gauges

Assembly:

Silverlight:

SLVisifire.Gauges (in SLVisifire.Gauge.dll)

WPF:

WPFVisifire.Gauges (in WPFVisifire.Gauge.dll)

Windows Phone:

SLWpVisifire.Gauges (in SLWpVisifire.Gauges.dll)

Windows 8:

Win8Visifire.Gauges (in Win8Visifire.Gauges.dll)

 

This attribute applies to:

 

Syntax:

<vg:Gauge.CircularScales>

<vg:CircularScale>

      <vg:CircularScale.MajorTicks>

            <vg:MajorTicks TickLength="0.2"/>

      </vg:CircularScale.MajorTicks>

</vg:CircularScale>

</vg:Gauge.CircularScales>

 

Below is the gauge after setting TickLength property in MajorTicks.

 

TickLength.JPG

 

Remarks:

  1. Value ranges from 0 - 1.

  2. If DefaultTemplate is set to CircularGaugeBasic or LinearGaugeBasic or Thermometer, default value for MajorTicks is 0.2 (in SL, WPF and Windows Phone) and 0.15 (in Windows 8), otherwise it is 0.1 (in SL, WPF and Windows Phone) and 0.5 (in Windows 8).

  3. If DefaultTemplate is set to CircularGaugeBasic or LinearGaugeBasic or Thermometer, default value for MinorTicks is 0.1 (in SL, WPF and Windows Phone) and 0.075 (in Windows 8), otherwise it is 0.05 (in SL, WPF, Windows Phone and Windows 8).