C# Class XamlBrewer.Uwp.Controls.RadialGauge

Inheritance: Windows.UI.Xaml.Controls.Control
Show file Open project: XamlBrewer/UWP-Composition-Radial-Gauge Class Usage Examples

Public Properties

Property Type Description
MaximumProperty Windows.UI.Xaml.DependencyProperty
MinimumProperty Windows.UI.Xaml.DependencyProperty
NeedleBrushProperty Windows.UI.Xaml.DependencyProperty
ScaleBrushProperty Windows.UI.Xaml.DependencyProperty
ScaleTickBrushProperty Windows.UI.Xaml.DependencyProperty
ScaleWidthProperty Windows.UI.Xaml.DependencyProperty
TickBrushProperty Windows.UI.Xaml.DependencyProperty
TickSpacingProperty Windows.UI.Xaml.DependencyProperty
TrailBrushProperty Windows.UI.Xaml.DependencyProperty
UnitBrushProperty Windows.UI.Xaml.DependencyProperty
UnitProperty Windows.UI.Xaml.DependencyProperty
ValueBrushProperty Windows.UI.Xaml.DependencyProperty
ValueProperty Windows.UI.Xaml.DependencyProperty
ValueStringFormatProperty Windows.UI.Xaml.DependencyProperty

Protected Properties

Property Type Description
ValueAngleProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
RadialGauge ( ) : System

Protected Methods

Method Description
OnApplyTemplate ( ) : void

Private Methods

Method Description
OnValueChanged ( DependencyObject d ) : void

Updates the needle rotation, the trail, and the value text according to the new value.

OnValueChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
ScalePoint ( double angle, double middleOfScale ) : Point

Transforms a set of polar coordinates into a Windows Point.

ValueToAngle ( double value ) : double

Returns the angle for a specific value.

Method Details

OnApplyTemplate() protected method

protected OnApplyTemplate ( ) : void
return void

RadialGauge() public method

public RadialGauge ( ) : System
return System

Property Details

MaximumProperty public static property

public static DependencyProperty,Windows.UI.Xaml MaximumProperty
return Windows.UI.Xaml.DependencyProperty

MinimumProperty public static property

public static DependencyProperty,Windows.UI.Xaml MinimumProperty
return Windows.UI.Xaml.DependencyProperty

NeedleBrushProperty public static property

public static DependencyProperty,Windows.UI.Xaml NeedleBrushProperty
return Windows.UI.Xaml.DependencyProperty

ScaleBrushProperty public static property

public static DependencyProperty,Windows.UI.Xaml ScaleBrushProperty
return Windows.UI.Xaml.DependencyProperty

ScaleTickBrushProperty public static property

public static DependencyProperty,Windows.UI.Xaml ScaleTickBrushProperty
return Windows.UI.Xaml.DependencyProperty

ScaleWidthProperty public static property

public static DependencyProperty,Windows.UI.Xaml ScaleWidthProperty
return Windows.UI.Xaml.DependencyProperty

TickBrushProperty public static property

public static DependencyProperty,Windows.UI.Xaml TickBrushProperty
return Windows.UI.Xaml.DependencyProperty

TickSpacingProperty public static property

public static DependencyProperty,Windows.UI.Xaml TickSpacingProperty
return Windows.UI.Xaml.DependencyProperty

TrailBrushProperty public static property

public static DependencyProperty,Windows.UI.Xaml TrailBrushProperty
return Windows.UI.Xaml.DependencyProperty

UnitBrushProperty public static property

public static DependencyProperty,Windows.UI.Xaml UnitBrushProperty
return Windows.UI.Xaml.DependencyProperty

UnitProperty public static property

public static DependencyProperty,Windows.UI.Xaml UnitProperty
return Windows.UI.Xaml.DependencyProperty

ValueAngleProperty protected static property

protected static DependencyProperty,Windows.UI.Xaml ValueAngleProperty
return Windows.UI.Xaml.DependencyProperty

ValueBrushProperty public static property

public static DependencyProperty,Windows.UI.Xaml ValueBrushProperty
return Windows.UI.Xaml.DependencyProperty

ValueProperty public static property

public static DependencyProperty,Windows.UI.Xaml ValueProperty
return Windows.UI.Xaml.DependencyProperty

ValueStringFormatProperty public static property

public static DependencyProperty,Windows.UI.Xaml ValueStringFormatProperty
return Windows.UI.Xaml.DependencyProperty