Edit this page

Working with Needle Indicator

LinearGaugeNeedleIndicator is a scale indicator that points to a value.

Design Time

The following image shows the smart tag of the gauge control when the needle is selected. You can change the line properties directly in the smart tag window.

Figure 1: Design Time

lineargauge-elements-working-with-needle 001

Properties

  • Value: Specifies the needle’s value.

  • BackColor: Specifies the color of the needle.

  • ForeColor: Controls the label color.

  • LabelFontSize: Specifies the labels font size.

  • LineLength: Specifies the length of the needle’s line.

  • IsFilled: Specifies if the needle figure should be filled.

  • TextOffsetFromIndicator: Specifies the label offset.

  • LabelFormat: Allows you to set the format of the label.

  • BindValue: Controls if the needle value is bound to the gauge value.

  • Thickness: Controls how thick the needle will be rendered.

  • DrawValue: Specifies if the label should be drawn.

  • LengthPerecentage: Controls the length of the entire needle. The element is sized according to its center which means that if the value of this property is set to 50 the needle length will equal the control width or height.

  • Direction: Specifies the needles direction.

  • CircleTicks: If set to true the indicator figure will be a circle otherwise it will be a triangle.

See Also