C# Class WinRTXamlToolkit.Controls.HueRingPicker

Inheritance: Windows.UI.Xaml.Controls.Primitives.RangeBase
Mostra file Open project: xyzzer/WinRTXamlToolkit

Public Properties

Property Type Description
RingThicknessProperty Windows.UI.Xaml.DependencyProperty
ThumbArcAngleProperty Windows.UI.Xaml.DependencyProperty
ThumbBackgroundProperty Windows.UI.Xaml.DependencyProperty
ThumbBorderBrushProperty Windows.UI.Xaml.DependencyProperty
ThumbBorderThicknessProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
HueRingPicker ( ) : System

Initializes a new instance of the HueRingPicker class.

Protected Methods

Method Description
OnApplyTemplate ( ) : void

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.

OnMaximumChanged ( double oldMaximum, double newMaximum ) : void

Called when the Maximum property changes.

OnMinimumChanged ( double oldMinimum, double newMinimum ) : void

Called when the Minimum property changes.

OnValueChanged ( double oldValue, double newValue ) : void

Fires the ValueChanged routed event.

Private Methods

Method Description
DelayedUpdateWorkaround ( ) : void
InitializeMinMaxCoercion ( ) : void

Initializes event handling to coerce Minimum and Maximum properties to the 0..360 range.

OnLoaded ( object sender, RoutedEventArgs e ) : void
OnPointerMoved ( object sender, PointerRoutedEventArgs pointerRoutedEventArgs ) : void
OnPointerPressed ( object sender, PointerRoutedEventArgs pointerRoutedEventArgs ) : void
OnRingThicknessChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the RingThickness property.

OnRingThicknessChanged ( double oldRingThickness, double newRingThickness ) : void

Provides derived classes an opportunity to handle changes to the RingThickness property.

OnSizeChanged ( object sender, SizeChangedEventArgs sizeChangedEventArgs ) : void
OnThumbArcAngleChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ThumbArcAngle property.

OnThumbArcAngleChanged ( double oldThumbArcAngle, double newThumbArcAngle ) : void

Provides derived classes an opportunity to handle changes to the ThumbArcAngle property.

OnThumbBackgroundChanged ( Brush oldThumbBackground, Brush newThumbBackground ) : void

Provides derived classes an opportunity to handle changes to the ThumbBackground property.

OnThumbBackgroundChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ThumbBackground property.

OnThumbBorderBrushChanged ( Brush oldThumbBorderBrush, Brush newThumbBorderBrush ) : void

Provides derived classes an opportunity to handle changes to the ThumbBorderBrush property.

OnThumbBorderBrushChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ThumbBorderBrush property.

OnThumbBorderThicknessChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ThumbBorderThickness property.

OnThumbBorderThicknessChanged ( double oldThumbBorderThickness, double newThumbBorderThickness ) : void

Provides derived classes an opportunity to handle changes to the ThumbBorderThickness property.

OnUnloaded ( object sender, RoutedEventArgs e ) : void
RunBitmapUpdaterAsync ( ) : void
UpdateHueRingImage ( ) : void
UpdateRingThumb ( ) : void
UpdateValueForPoint ( Point point ) : void
UpdateVisuals ( ) : void

Method Details

HueRingPicker() public method

Initializes a new instance of the HueRingPicker class.
public HueRingPicker ( ) : System
return System

OnApplyTemplate() protected method

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
protected OnApplyTemplate ( ) : void
return void

OnMaximumChanged() protected method

Called when the Maximum property changes.
protected OnMaximumChanged ( double oldMaximum, double newMaximum ) : void
oldMaximum double Old value of the Maximum property.
newMaximum double New value of the Maximum property.
return void

OnMinimumChanged() protected method

Called when the Minimum property changes.
protected OnMinimumChanged ( double oldMinimum, double newMinimum ) : void
oldMinimum double Old value of the Minimum property.
newMinimum double New value of the Minimum property.
return void

OnValueChanged() protected method

Fires the ValueChanged routed event.
protected OnValueChanged ( double oldValue, double newValue ) : void
oldValue double Old value of the Value property.
newValue double New value of the Value property.
return void

Property Details

RingThicknessProperty public_oe static_oe property

RingThickness Dependency Property
public static DependencyProperty,Windows.UI.Xaml RingThicknessProperty
return Windows.UI.Xaml.DependencyProperty

ThumbArcAngleProperty public_oe static_oe property

ThumbArcAngle Dependency Property
public static DependencyProperty,Windows.UI.Xaml ThumbArcAngleProperty
return Windows.UI.Xaml.DependencyProperty

ThumbBackgroundProperty public_oe static_oe property

ThumbBackground Dependency Property
public static DependencyProperty,Windows.UI.Xaml ThumbBackgroundProperty
return Windows.UI.Xaml.DependencyProperty

ThumbBorderBrushProperty public_oe static_oe property

ThumbBorderBrush Dependency Property
public static DependencyProperty,Windows.UI.Xaml ThumbBorderBrushProperty
return Windows.UI.Xaml.DependencyProperty

ThumbBorderThicknessProperty public_oe static_oe property

ThumbBorderThickness Dependency Property
public static DependencyProperty,Windows.UI.Xaml ThumbBorderThicknessProperty
return Windows.UI.Xaml.DependencyProperty