[]
Base class for the Gauge controls
[TemplatePart(Name = "", Type = typeof(Canvas))]
public abstract class C1Gauge : C1View, IDependencyObject
| Name | Description |
|---|---|
| C1Gauge() | Initializes a new instance of the C1Gauge class. |
| Name | Description |
|---|---|
| DefaultFaceBorderColor | |
| DefaultFaceBorderWidth | |
| DefaultFaceColor | |
| DefaultFormat | |
| DefaultMax | |
| DefaultMin | |
| DefaultMinMaxFontName | |
| DefaultMinMaxFontSize | |
| DefaultMinMaxOpacity | |
| DefaultMinMaxTextColor | |
| DefaultOrigin | |
| DefaultPointerColor | |
| DefaultPointerThickness | |
| DefaultReadonly | |
| DefaultShowRanges | |
| DefaultStep | |
| DefaultTextVisibility | |
| DefaultThickness | |
| DefaultValueFontName | |
| DefaultValueFontSize | |
| DefaultValueTextColor | |
| FaceBorderColorProperty | Identifies the FaceBorderColor dependency property. |
| FaceBorderDashesProperty | Identifies the FaceBorderDashes dependency property. |
| FaceBorderWidthProperty | Identifies the FaceBorderWidth dependency property. |
| FaceColorProperty | Identifies the FaceColor dependency property. |
| FaceProperty | Identifies the Face dependency property. |
| FormatProperty | Identifies the Format dependency property. |
| IsReadOnlyProperty | Identifies the IsReadOnly dependency property. |
| MaxFontFamilyProperty | Identifies the MaxFontFamily dependency property. |
| MaxFontSizeProperty | Identifies the MaxFontSize dependency property. |
| MaxFontStyleProperty | Identifies the MaxFontStyle dependency property. |
| MaxFontWeightProperty | Identifies the MaxFontWeight dependency property. |
| MaxProperty | Identifies the Max dependency property. |
| MaxTextColorProperty | Identifies the MaxTextColor dependency property. |
| MinFontFamilyProperty | Identifies the MinFontFamily dependency property. |
| MinFontSizeProperty | Identifies the MinFontSize dependency property. |
| MinFontStyleProperty | Identifies the MinFontStyle dependency property. |
| MinFontWeightProperty | Identifies the MinFontWeight dependency property. |
| MinProperty | Identifies the Min dependency property. |
| MinTextColorProperty | Identifies the MinTextColor dependency property. |
| OriginProperty | Identifies the Origin dependency property. |
| PointerColorProperty | Identifies the PointerColor dependency property. |
| PointerProperty | Identifies the Pointer dependency property. |
| ShowRangesProperty | Identifies the ShowRanges dependency property. |
| StepProperty | Identifies the Step dependency property. |
| TextVisibilityProperty | Identifies the TextVisibility dependency property. |
| ThicknessProperty | Identifies the Thickness dependency property. |
| ValueFontFamilyProperty | Identifies the ValueFontFamily dependency property. |
| ValueFontSizeProperty | Identifies the ValueFontSize dependency property. |
| ValueFontStyleProperty | Identifies the ValueFontStyle dependency property. |
| ValueFontWeightProperty | Identifies the ValueFontWeight dependency property. |
| ValueProperty | Identifies the Value dependency property. |
| ValueTextColorProperty | Identifies the ValueTextColor dependency property. |
| _textMax | The string of Min, Max, and Value. |
| _textMaxRect | The rectangle of Min, Max, and Value. |
| _textMin | The string of Min, Max, and Value. |
| _textMinRect | The rectangle of Min, Max, and Value. |
| _textValue | The string of Min, Max, and Value. |
| _textValueRect | The rectangle of Min, Max, and Value. |
| Name | Description |
|---|---|
| Face | Gets or sets the GaugeRange used to represent the gauge's overall geometry and appearance. |
| FaceBorderColor | Gets or sets the color of the face border. |
| FaceBorderDashes | Gets or sets the face border dashes. |
| FaceBorderWidth | Gets or sets the width of the face border. |
| FaceColor | Gets or sets the color of the face. |
| Format | Gets or sets the format string used for displaying the gauge values as text. |
| IsReadOnly | Gets or sets a value to determine whether the gauge is readonly. |
| Max | Gets or sets the maximum value of the gauge. |
| MaxFont | Gets or sets the maximum value font style. |
| MaxFontFamily | Gets or sets the maximum value font style. |
| MaxFontSize | Gets or sets the maximum value font style. |
| MaxFontStyle | Gets or sets the maximum value font style. |
| MaxFontWeight | Gets or sets the maximum value font style. |
| MaxTextColor | Gets or sets the color of the maximum label. |
| Min | Gets or sets the minimum value of the gauge. |
| MinFont | Gets or sets the minimum value font style. |
| MinFontFamily | Gets or sets the minimum value font style. |
| MinFontSize | Gets or sets the minimum value font style. |
| MinFontStyle | Gets or sets the minimum value font style. |
| MinFontWeight | Gets or sets the minimum value font style. |
| MinTextColor | Gets or sets the color of the minimum label. |
| Origin | Gets or sets the starting point used for painting the range. |
| Pointer | Gets or sets the GaugeRange used to represent the gauge's current value. |
| PointerColor | Gets or sets the color of the pointer. |
| Ranges | Gets the collection of ranges in this gauge. |
| ShowRanges | Gets or sets whether the gauge should display the ranges contained in the ranges property. |
| Step | Gets or sets a value that determines the intervals the |
| TextVisibility | Gets or sets which values should be displayed as text in the gauge. |
| Thickness | Gets or sets the thickness of the gauge, on a scale between zero and one. |
| Value | Gets or sets the value displayed on the gauge. |
| ValueFont | Gets or sets the value font style. |
| ValueFontFamily | Gets or sets the value font style. |
| ValueFontSize | Gets or sets the value font style. |
| ValueFontStyle | Gets or sets the value font style. |
| ValueFontWeight | Gets or sets the value font style. |
| ValueTextColor | Gets or sets the color of the value label. |
| svg | Gets or set the SVG presentation. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| DrawBorder() | Draw the border with BorderBrush and BorderThickness. |
| DrawGauge() | Draw the gauge. |
| DrawMinMaxText() | Draw the text of Min and Max. |
| DrawValueText(double) | Draw the text of Value. |
| FormatDecimal(double) | Format decimal number to the string. |
| GetPercent(double) | Get the value of percent. |
| GetPointerColor(double) | Get point color from the value. |
| GetValueFromPoint(Point) | Get guage value from the point. |
| MeasureOverride(Size) | Provides the behavior for the Measure pass of the layout cycle. |
| OnApplyTemplate() | |
| OnPropertyChanged(string, object, object, bool) | |
| OnValueChangedEvent(GaugeValueEventArgs) | Raises the ValueChangedEvent event. |
| Refresh(bool) | Refreshes the control. |
| RenderTo(IRenderingEngine) | Renders the gauge to IRenderingEngine. |
| UpdateRange(GaugeRange, double) | Update gauge range. |
| UpdateRangeElement(GaugeRange, double) | Update element range. |
| Name | Description |
|---|---|
| Tapped | Occurs for every touch event. |
| ValueChanged | ​Occurs when the value changed. |