C# Class HermitDaveControls.ColorPicker

Inheritance: Windows.UI.Xaml.Controls.UserControl
Exibir arquivo Open project: hermitdave/HermitDaveWinRTControls

Public Properties

Property Type Description
SelectedColorProperty Windows.UI.Xaml.DependencyProperty
SelectedPrimaryProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
ColorPicker ( ) : System

Private Methods

Method Description
ColorSample_PointerMoved ( object sender, PointerRoutedEventArgs e ) : void
ColorSample_PointerPressed ( object sender, PointerRoutedEventArgs e ) : void
ColorSample_PointerReleased ( object sender, PointerRoutedEventArgs e ) : void
GetColorAtPoint ( Rectangle theRec, Point thePoint ) : Color
GetColorSample ( object sender, PointerRoutedEventArgs e ) : void
GetHue ( object sender, PointerRoutedEventArgs e ) : void
OnSelectedColorChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnSelectedPrimaryChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
Rectangle_PointerMoved ( object sender, PointerRoutedEventArgs e ) : void
Rectangle_PointerPressed ( object sender, PointerRoutedEventArgs e ) : void
Rectangle_PointerReleased ( object sender, PointerRoutedEventArgs e ) : void
dist ( Point px, Point po, Point pf ) : double

Method Details

ColorPicker() public method

public ColorPicker ( ) : System
return System

Property Details

SelectedColorProperty public_oe static_oe property

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

SelectedPrimaryProperty public_oe static_oe property

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