C# Class PsHandler.ColorPicker.UcColorPicker

Interaction logic for UcColorPicker.xaml
Inheritance: System.Windows.Controls.UserControl
Show file Open project: kampiuceris/PsHandler Class Usage Examples

Public Properties

Property Type Description
ColorARGBHSV ColorARGBHSV
RecentColors List

Public Methods

Method Description
AddRecentColor ( Color color ) : void
InitRecentColors ( ) : void
SetColor ( Color color ) : void
UcColorPicker ( ) : System

Private Methods

Method Description
DrawBarByHue ( ) : void
DrawPaletteByHue ( double hue ) : void
Fit ( double value, double min, double max ) : double
Fit ( int value, int min, int max ) : int
GetTextBoxAlpha ( ) : byte
GetTextBoxBlue ( ) : byte
GetTextBoxGreen ( ) : byte
GetTextBoxHex ( ) : string
GetTextBoxHue ( ) : double
GetTextBoxRed ( ) : byte
GetTextBoxSaturation ( ) : double
GetTextBoxValue ( ) : double
MousePickBar ( System.Windows.Input.MouseEventArgs args ) : void
MousePickPalette ( System.Windows.Input.MouseEventArgs args ) : void
SetColor ( byte alpha, byte red, byte green, byte blue ) : void
SetPointerBar ( int valueY ) : void
SetPointerPalette ( int valueX, int valueY ) : void
SyncState ( object sender ) : void
_SyncState ( object sender ) : void

Method Details

AddRecentColor() public static method

public static AddRecentColor ( Color color ) : void
color Color
return void

InitRecentColors() public method

public InitRecentColors ( ) : void
return void

SetColor() public method

public SetColor ( Color color ) : void
color Color
return void

UcColorPicker() public method

public UcColorPicker ( ) : System
return System

Property Details

ColorARGBHSV public property

public ColorARGBHSV,PsHandler.ColorPicker ColorARGBHSV
return ColorARGBHSV

RecentColors public static property

public static List RecentColors
return List