C# Class emanual.Wpf.Controls.WpfColorPicker

Inheritance: System.Windows.Controls.UserControl
Exibir arquivo Open project: kienaiProject/ArtOfWords Class Usage Examples

Public Properties

Property Type Description
AlphaProperty System.Windows.DependencyProperty
BlueProperty System.Windows.DependencyProperty
BrightnessProperty System.Windows.DependencyProperty
GreenProperty System.Windows.DependencyProperty
HueProperty System.Windows.DependencyProperty
RedProperty System.Windows.DependencyProperty
SaturationProperty System.Windows.DependencyProperty
SelectedColorChangedEvent System.Windows.RoutedEvent
SelectedColorProperty System.Windows.DependencyProperty

Protected Methods

Method Description
OnSelectedColorChanged ( RoutedPropertyChangedEventArgs args ) : void

Private Methods

Method Description
GetFocusRectColor ( int hue ) : Color
OnSelectedColorChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
PART_AlphaSlider_ValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void
PART_Hexadecimal_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
PART_HueGrid_HueChanged ( object sender, RoutedPropertyChangedEventArgs args ) : void
PART_RgbUpDown_ValueChanged ( Object sender, RoutedPropertyChangedEventArgs args ) : void
RemoveFocusingOfRect ( ) : void
SetColorCanvasWithHue ( int hue ) : void
SetHueColorBar ( ) : void
SetSVList ( int hue ) : void
SetUpColorCanvas ( int hue ) : void
SetUpdownWithSelectedColor ( Color color, int n ) : void
WpfColorPicker ( ) : System
rect_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
userControl_Loaded ( object sender, RoutedEventArgs e ) : void

Method Details

OnSelectedColorChanged() protected method

protected OnSelectedColorChanged ( RoutedPropertyChangedEventArgs args ) : void
args RoutedPropertyChangedEventArgs
return void

Property Details

AlphaProperty public_oe static_oe property

public static DependencyProperty,System.Windows AlphaProperty
return System.Windows.DependencyProperty

BlueProperty public_oe static_oe property

public static DependencyProperty,System.Windows BlueProperty
return System.Windows.DependencyProperty

BrightnessProperty public_oe static_oe property

public static DependencyProperty,System.Windows BrightnessProperty
return System.Windows.DependencyProperty

GreenProperty public_oe static_oe property

public static DependencyProperty,System.Windows GreenProperty
return System.Windows.DependencyProperty

HueProperty public_oe static_oe property

public static DependencyProperty,System.Windows HueProperty
return System.Windows.DependencyProperty

RedProperty public_oe static_oe property

public static DependencyProperty,System.Windows RedProperty
return System.Windows.DependencyProperty

SaturationProperty public_oe static_oe property

public static DependencyProperty,System.Windows SaturationProperty
return System.Windows.DependencyProperty

SelectedColorChangedEvent public_oe static_oe property

public static RoutedEvent,System.Windows SelectedColorChangedEvent
return System.Windows.RoutedEvent

SelectedColorProperty public_oe static_oe property

public static DependencyProperty,System.Windows SelectedColorProperty
return System.Windows.DependencyProperty