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.Gauges.dll)

WPF:

WPFVisifire.Gauges (in WPFVisifire.Gauges.dll)

 

This attribute applies to:

 

Visifire Elements

Modifiers Applicable

Gauge

CircularScale

LinearScale

          

NeedleIndicator

BarIndicator

MarkerIndicator

StateIndicator

Range

MajorTicks

MinorTicks

ScaleLabels

ToolTip

 

 

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.