[]
Base class for the Gauge controls
public abstract class C1Gauge : FrameLayout, IDependencyObject, IDisposable, IComponent
Name | Description |
---|---|
C1Gauge(Context) | Initializes a new instance of a C1Gauge control. |
C1Gauge(Context, IAttributeSet) | Initializes a new instance of a C1Gauge control. |
Name | Description |
---|---|
BackgroundColor | Gets or sets the background color. |
Enabled | Gets or sets the enabled status for this view. |
Face | Gets 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. |
IsAnimated | Gets or sets a value indicating whether the control will transition from one state to another using animations. |
IsAnimating | Gets the animation is processing. |
IsEnabled | Gets or sets whether gauge enables user interaction or not. |
IsReadOnly | Gets or sets a value to determine whether the gauge is readonly. |
LoadAnimation | Gets or sets the animation used when the control is loaded. |
Max | Gets or sets the maximum value of the gauge. |
MaxFont | Gets or sets the maximum value font style. |
MaxFontColor | Gets or sets the maximum value font color. |
MaxOpacity | Gets or sets the maximum value of opacity. |
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. |
MinFontColor | Gets or sets the maximum value font color. |
MinOpacity | Gets or sets the minimum value of opacity. |
MinTextColor | Gets or sets the color of the minimum label. |
Origin | Gets or sets the starting point used for painting the range. |
Pointer | Gets 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. |
RefreshImmediately | Gets or sets refresh immediately. |
ShowRanges | Gets or sets whether the gauge should display the ranges contained in the ranges property. |
ShowText | Gets or sets which values should be displayed as text in the gauge. |
Site | IComponent Site |
Step | Gets or sets a value that determines the intervals the |
Thickness | Gets or sets the thickness of the gauge, on a scale between zero and one. |
UpdateAnimation | Gets or sets the animation used when the value property changes. |
Value | Gets or sets the value displayed on the gauge. |
ValueConverter | Gets or sets an IValueConverter associated with this. |
ValueFont | Gets or sets the value font style. |
ValueFontColor | Gets or sets the value font color. |
ValueTextColor | Gets or sets the color of the value label. |
Name | Description |
---|---|
Dispose(bool) | |
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. |
GetValue(DependencyProperty) | |
GetValueFromPoint(C1Point) | Get guage value from the point. |
Invalidate() | Invalidate the whole view. |
MeasureControlSize(MeasureSpecMode, int, bool) | Measure control size. |
OnDraw(Canvas) | Implement this to do your drawing. |
OnLayout(bool, int, int, int, int) | Called from layout when this view should. |
OnMeasure(int, int) | Called to determine the size requirements for this view and all of its children. |
OnPropertyChanged(string, object, object, bool) | |
OnValueChangedEvent(GaugeValueEventArgs) | Raises the ValueChangedEvent event. |
Refresh(bool) | Refreshes the control. |
Render(bool) | Render. |
SetValue(DependencyProperty, object) | |
StartLoadAnimation() | Start loading animation. |
StartUpdateAnimation() | Start updating animation. |
UpdateRange(GaugeRange, double) | Update gauge range. |
UpdateRangeElement(GaugeRange, double) | Update element range. |
Name | Description |
---|---|
Disposed | Occurs when the object is disposed. |
Tapped | Occurs for every touch event. |
ValueChanged | ​Occurs when the value changed. |