Skip to content

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

NameSummary
.ctor

Properties

NameSummary
AboveOptimalRangeColorGets or sets /Sets Above Optimal Range Color.
BelowOptimalRangeColorGets or sets /Sets Below Optimal Range Color.
DecimalsGets or sets the decimals.
DetectionTimeOutGets or sets the detection time out.
DetectValueOrErrorGets or sets a value indicating whether [detect value or error].
DialTextGets or sets /Sets Dial Text.
DialTextFontSizeGets or sets /Sets Dial Text Font Size.
ValueTextFontSizeGets or sets /Sets Dial Text Font Size.
DialTextOffsetGets or sets /Sets Dial Text Offset.
DisplayAlignmentGets or sets the display alignment.
DisplayBorderColourGets or sets the display border colour.
DisplayValueGets or sets a value indicating whether [display value].
ErrorGets or sets a value indicating whether gets or sets the error.
ImageOffsetGets or sets /Sets the Image offset.
ImageSizeGets or sets /Sets the Image width and height.
ImageSourceGets or sets /Sets the Gauge image source.
MajorDivisionsCountGets or sets /Sets the number of major divisions on the scale.
MajorTickSizeGets or sets /Sets the Major Tick Size.
MaxValueGets or sets /Sets the Maximum Value.
MinorDivisionsCountGets or sets /Sets the number of minor divisions on the scale.
MinorTickSizeGets or sets /Sets the Minor Tick Size.
MinValueGets or sets /Sets the Minimum Value.
OptimalRangeColorGets or sets /Sets Optimal Range Color.
OptimalRangeEndValueGets or sets /Sets the Optimal range end value.
OptimalRangeStartValueGets or sets /Sets the Optimal Range Start Value.
PointerCapRadiusGets or sets /Sets the Pointer cap radius.
PointerLengthGets or sets /Sets the Pointer Length.
PointerThicknessGets or sets /Sets the Pointer Thickness.
RadiusGets or sets /Sets the Minimum Value.
RangeIndicatorLightOffsetGets or sets /Sets the Range Indicator Light offset.
RangeIndicatorLightRadiusGets or sets /Sets Range Indicator Light Radius.
RangeIndicatorLightVisibleGets or sets the range indicator light visible.
RangeIndicatorRadiusGets or sets /Sets the Range Indicator Radius.
RangeIndicatorThicknessGets or sets /Sets the Range Indicator Thickness.
ResetPointerOnStartUpGets or sets a value indicating whether gets/Sets option to reset the pointer to minimum on start up, Default is true.
ScaleForegroundGets or sets /Sets the Scale Label Foreground.
ScaleLabelFontSizeGets or sets /Sets the Scale Label Font Size.
ScaleLabelRadiusGets or sets /Sets the Scale Label Radius.
ScaleLabelSizeGets or sets /Sets the Scale Label Size.
ScaleRadiusGets or sets /Sets the Scale radius.
ScaleStartAngleGets or sets /Sets the scale start angle.
ScaleSweepAngleGets or sets /Sets the scale sweep angle.
ScaleValuePrecisionGets or sets /Sets scale value precision.
ShowErrorGets or sets the show error.
UnitGets or sets the unit.
ValueGets or sets /Sets the current value.
ValueBackgroundGets or sets the value background.

Fields

NameSummary
static AboveOptimalRangeColorPropertyDependency property to Get/Set the Above Optimal Range Color.
static BelowOptimalRangeColorPropertyDependency property to Get/Set the Below Optimal Range Color.
static DecimalsPropertyThe decimals property.
static DetectionTimeOutPropertyThe detection time out property.
static DetectValueOrErrorPropertyThe detect value or error property.
static DialTextFontSizePropertyDependency property to Get/Set the Dial Text Font Size.
static ValueTextFontSizePropertyThe value text font size property.
static DialTextOffsetPropertyDependency property to Get/Set the Dial Text Offset.
static DialTextPropertyDependency property to Get/Set the Dial Text.
static DisplayAlignmentPropertyThe display alignment property.
static DisplayBorderColourPropertyThe display border colour property.
static DisplayValuePropertyThe display value property.
static ErrorPropertyThe error property.
static ImageOffsetPropertyDependency property to Get/Set the image offset.
static ImageSizePropertyDependency property to Get/Set the image Size.
static ImageSourcePropertyDependency property to Get/Set the image source.
static MajorDivisionsCountPropertyDependency property to Get/Set the number of major divisions on the scale.
static MajorTickSizePropertyDependency property to Get/Set the Major Tick Size.
static MaxValuePropertyDependency property to Get/Set the Maximum Value.
static MinorDivisionsCountPropertyDependency property to Get/Set the number of minor divisions on the scale.
static MinorTickSizePropertyDependency property to Get/Set the Minor Tick Size.
static MinValuePropertyDependency property to Get/Set the Minimum Value.
static OptimalRangeColorPropertyDependency property to Get/Set the Optimal Range Color.
static OptimalRangeEndValuePropertyDependency property to Get/Set Optimal Range End Value.
static OptimalRangeStartValuePropertyDependency property to Get/Set Optimal Range Start Value.
static PointerCapRadiusPropertyDependency property to Get/Set the Pointer cap Radius.
static PointerLengthPropertyDependency property to Get/Set the pointer length.
static PointerThicknessPropertyDependency property to Get/Set the Pointer Thickness.
static RadiusPropertyDependency property to Get/Set the Radius of the gauge.
static RangeIndicatorLightOffsetPropertyDependency property to Get/Set the range indicator light offset.
static RangeIndicatorLightRadiusPropertyDependency property to Get/Set the Range Indicator light Radius.
static RangeIndicatorLightVisiblePropertyThe range indicator light visible property.
static RangeIndicatorRadiusPropertyDependency property to Get/Set the Range Indicator Radius.
static RangeIndicatorThicknessPropertyDependency property to Get/Set the Range Indicator Thickness.
static ResetPointerOnStartUpPropertyDependency property to Get/Set the an option to reset the pointer on start up to the minimum value.
static ScaleForegroundPropertyDependency property to Get/Set the Scale Label Foreground.
static ScaleLabelFontSizePropertyDependency property to Get/Set the Scale Label FontSize.
static ScaleLabelRadiusPropertyDependency property to Get/Set the scale label Radius.
static ScaleLabelSizePropertyDependency property to Get/Set the Scale Label Size.
static ScaleRadiusPropertyDependency property to Get/Set the scale Radius.
static ScaleStartAnglePropertyDependency property to Get/Set the starting angle of scale.
static ScaleSweepAnglePropertyDependency property to Get/Set the sweep angle of scale.
static ScaleValuePrecisionPropertyDependency property to Get/Set the Scale Value Precision.
static ShowErrorPropertyThe show error property.
static UnitPropertyThe unit property.
static ValueBackgroundPropertyThe value background property.
static ValuePropertyDependency property to Get/Set the value.

Methods

NameSummary
OnApplyTemplateLoad the visualization template.
OnValueChangedRaises the ValueChanged event.
RefreshDialRangeRefreshes the dial range.
RefreshRangeIndicatorRefreshes the range indicator.
Inherited members