CircularGauge class¶
Attributes: [TemplatePart] [TemplatePart] [TemplatePart] [TemplatePart]
Defined in
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Controls.CircularGauge
Modifiers: public sealed
Summary¶
CircularGauge displays a value within a specified range using a radial scale and a needle.
It supports theming via dynamic resources present in CrissCross (accent, stroke and text brushes).
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class CircularGauge
class Control
Control <|-- CircularGauge
Inherits from: Control
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Properties¶
| Name | Summary |
|---|---|
| AboveOptimalRangeColor | Gets or sets /Sets Above Optimal Range Color. |
| BelowOptimalRangeColor | Gets or sets /Sets Below Optimal Range Color. |
| Decimals | Gets or sets the decimals. |
| DetectionTimeOut | Gets or sets the detection time out. |
| DetectValueOrError | Gets or sets a value indicating whether [detect value or error]. |
| DialText | Gets or sets /Sets Dial Text. |
| DialTextFontSize | Gets or sets /Sets Dial Text Font Size. |
| ValueTextFontSize | Gets or sets /Sets Dial Text Font Size. |
| DialTextOffset | Gets or sets /Sets Dial Text Offset. |
| DisplayAlignment | Gets or sets the display alignment. |
| DisplayBorderColour | Gets or sets the display border colour. |
| DisplayValue | Gets or sets a value indicating whether [display value]. |
| Error | Gets or sets a value indicating whether gets or sets the error. |
| ImageOffset | Gets or sets /Sets the Image offset. |
| ImageSize | Gets or sets /Sets the Image width and height. |
| ImageSource | Gets or sets /Sets the Gauge image source. |
| MajorDivisionsCount | Gets or sets /Sets the number of major divisions on the scale. |
| MajorTickSize | Gets or sets /Sets the Major Tick Size. |
| MaxValue | Gets or sets /Sets the Maximum Value. |
| MinorDivisionsCount | Gets or sets /Sets the number of minor divisions on the scale. |
| MinorTickSize | Gets or sets /Sets the Minor Tick Size. |
| MinValue | Gets or sets /Sets the Minimum Value. |
| OptimalRangeColor | Gets or sets /Sets Optimal Range Color. |
| OptimalRangeEndValue | Gets or sets /Sets the Optimal range end value. |
| OptimalRangeStartValue | Gets or sets /Sets the Optimal Range Start Value. |
| PointerCapRadius | Gets or sets /Sets the Pointer cap radius. |
| PointerLength | Gets or sets /Sets the Pointer Length. |
| PointerThickness | Gets or sets /Sets the Pointer Thickness. |
| Radius | Gets or sets /Sets the Minimum Value. |
| RangeIndicatorLightOffset | Gets or sets /Sets the Range Indicator Light offset. |
| RangeIndicatorLightRadius | Gets or sets /Sets Range Indicator Light Radius. |
| RangeIndicatorLightVisible | Gets or sets the range indicator light visible. |
| RangeIndicatorRadius | Gets or sets /Sets the Range Indicator Radius. |
| RangeIndicatorThickness | Gets or sets /Sets the Range Indicator Thickness. |
| ResetPointerOnStartUp | Gets or sets a value indicating whether gets/Sets option to reset the pointer to minimum on start up, Default is true. |
| ScaleForeground | Gets or sets /Sets the Scale Label Foreground. |
| ScaleLabelFontSize | Gets or sets /Sets the Scale Label Font Size. |
| ScaleLabelRadius | Gets or sets /Sets the Scale Label Radius. |
| ScaleLabelSize | Gets or sets /Sets the Scale Label Size. |
| ScaleRadius | Gets or sets /Sets the Scale radius. |
| ScaleStartAngle | Gets or sets /Sets the scale start angle. |
| ScaleSweepAngle | Gets or sets /Sets the scale sweep angle. |
| ScaleValuePrecision | Gets or sets /Sets scale value precision. |
| ShowError | Gets or sets the show error. |
| Unit | Gets or sets the unit. |
| Value | Gets or sets /Sets the current value. |
| ValueBackground | Gets or sets the value background. |
Fields¶
| Name | Summary |
|---|---|
| static AboveOptimalRangeColorProperty | Dependency property to Get/Set the Above Optimal Range Color. |
| static BelowOptimalRangeColorProperty | Dependency property to Get/Set the Below Optimal Range Color. |
| static DecimalsProperty | The decimals property. |
| static DetectionTimeOutProperty | The detection time out property. |
| static DetectValueOrErrorProperty | The detect value or error property. |
| static DialTextFontSizeProperty | Dependency property to Get/Set the Dial Text Font Size. |
| static ValueTextFontSizeProperty | The value text font size property. |
| static DialTextOffsetProperty | Dependency property to Get/Set the Dial Text Offset. |
| static DialTextProperty | Dependency property to Get/Set the Dial Text. |
| static DisplayAlignmentProperty | The display alignment property. |
| static DisplayBorderColourProperty | The display border colour property. |
| static DisplayValueProperty | The display value property. |
| static ErrorProperty | The error property. |
| static ImageOffsetProperty | Dependency property to Get/Set the image offset. |
| static ImageSizeProperty | Dependency property to Get/Set the image Size. |
| static ImageSourceProperty | Dependency property to Get/Set the image source. |
| static MajorDivisionsCountProperty | Dependency property to Get/Set the number of major divisions on the scale. |
| static MajorTickSizeProperty | Dependency property to Get/Set the Major Tick Size. |
| static MaxValueProperty | Dependency property to Get/Set the Maximum Value. |
| static MinorDivisionsCountProperty | Dependency property to Get/Set the number of minor divisions on the scale. |
| static MinorTickSizeProperty | Dependency property to Get/Set the Minor Tick Size. |
| static MinValueProperty | Dependency property to Get/Set the Minimum Value. |
| static OptimalRangeColorProperty | Dependency property to Get/Set the Optimal Range Color. |
| static OptimalRangeEndValueProperty | Dependency property to Get/Set Optimal Range End Value. |
| static OptimalRangeStartValueProperty | Dependency property to Get/Set Optimal Range Start Value. |
| static PointerCapRadiusProperty | Dependency property to Get/Set the Pointer cap Radius. |
| static PointerLengthProperty | Dependency property to Get/Set the pointer length. |
| static PointerThicknessProperty | Dependency property to Get/Set the Pointer Thickness. |
| static RadiusProperty | Dependency property to Get/Set the Radius of the gauge. |
| static RangeIndicatorLightOffsetProperty | Dependency property to Get/Set the range indicator light offset. |
| static RangeIndicatorLightRadiusProperty | Dependency property to Get/Set the Range Indicator light Radius. |
| static RangeIndicatorLightVisibleProperty | The range indicator light visible property. |
| static RangeIndicatorRadiusProperty | Dependency property to Get/Set the Range Indicator Radius. |
| static RangeIndicatorThicknessProperty | Dependency property to Get/Set the Range Indicator Thickness. |
| static ResetPointerOnStartUpProperty | Dependency property to Get/Set the an option to reset the pointer on start up to the minimum value. |
| static ScaleForegroundProperty | Dependency property to Get/Set the Scale Label Foreground. |
| static ScaleLabelFontSizeProperty | Dependency property to Get/Set the Scale Label FontSize. |
| static ScaleLabelRadiusProperty | Dependency property to Get/Set the scale label Radius. |
| static ScaleLabelSizeProperty | Dependency property to Get/Set the Scale Label Size. |
| static ScaleRadiusProperty | Dependency property to Get/Set the scale Radius. |
| static ScaleStartAngleProperty | Dependency property to Get/Set the starting angle of scale. |
| static ScaleSweepAngleProperty | Dependency property to Get/Set the sweep angle of scale. |
| static ScaleValuePrecisionProperty | Dependency property to Get/Set the Scale Value Precision. |
| static ShowErrorProperty | The show error property. |
| static UnitProperty | The unit property. |
| static ValueBackgroundProperty | The value background property. |
| static ValueProperty | Dependency property to Get/Set the value. |
Methods¶
| Name | Summary |
|---|---|
| OnApplyTemplate | Load the visualization template. |
| OnValueChanged | Raises the ValueChanged event. |
| RefreshDialRange | Refreshes the dial range. |
| RefreshRangeIndicator | Refreshes the range indicator. |