ToolTipText

ToolTipText property of a Gauge element can be null or a string that can contain modifiers as in the given list below which can be used to get various values from the element.

 

Modifier

Significance

Elements

#Value

Returns Value

NeedleIndicator, BarIndicator, MarkerIndicator

#StartValue

Returns StartValue

Range

#EndValue

Returns EndValue

Range

 

ToolTip text can be constructed as given below:

 

ToolTipText="{x:Null}"      

or

ToolTipText="Value: #Value"

or

ToolTipText="Visifire"

 

Note: If a modifier is not applicable to an element then it displays as it is.

 

Type: String

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:

 

Visifire Elements

Modifiers Applicable

Gauge

cross.gif

CircularScale

cross.gif

LinearScale

          cross.gif

NeedleIndicator

tick.gif

BarIndicator

tick.gif

MarkerIndicator

tick.gif

StateIndicator

tick.gif

Range

tick.gif

MajorTicks

cross.gif

MinorTicks

cross.gif

ScaleLabels

cross.gif

ToolTip

cross.gif

 

 

Syntax:

<vg:Gauge... >

<vg:Gauge.Indicators>

<vg:NeedleIndicator ToolTipText="#Value"/>

</vg:Gauge.Indicators>

</vg:Gauge>

 

Below is the gauge after setting ToolTipText property in NeedleIndicator.

 

ToolTipText.jpg