C# Class XamlBrewer.Uwp.Controls.RadialGauge

Inheritance: Windows.UI.Xaml.Controls.Control
Exibir arquivo 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_oe static_oe property

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

MinimumProperty public_oe static_oe property

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

NeedleBrushProperty public_oe static_oe property

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

ScaleBrushProperty public_oe static_oe property

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

ScaleTickBrushProperty public_oe static_oe property

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

ScaleWidthProperty public_oe static_oe property

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

TickBrushProperty public_oe static_oe property

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

TickSpacingProperty public_oe static_oe property

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

TrailBrushProperty public_oe static_oe property

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

UnitBrushProperty public_oe static_oe property

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

UnitProperty public_oe static_oe property

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

ValueAngleProperty protected_oe static_oe property

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

ValueBrushProperty public_oe static_oe property

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

ValueProperty public_oe static_oe property

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

ValueStringFormatProperty public_oe static_oe property

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