C# Class ScreenToGif.Windows.Other.ColorSelector

Interaction logic for ColorSelector.xaml
Inheritance: System.Windows.Window
ファイルを表示 Open project: dbremner/ScreenToGif Class Usage Examples

Public Methods

Method Description
ColorSelector ( Color selectedColor, bool showAlpha = true ) : System

Default constructor.

Private Methods

Method Description
ArgbText_ValueChanged ( object sender, RoutedEventArgs e ) : void
CheckValues ( object sender ) : void
ColorDetailSizeChanged ( object sender, System.Windows.SizeChangedEventArgs args ) : void
ColorDetail_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
ColorSlider_OnAfterSelecting ( ) : void
ColorSlider_ValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void
DetermineColor ( Point p ) : void
HexadecimalText_ValueChanged ( object sender, RoutedEventArgs e ) : void
InitialColor_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OkButton_Click ( object sender, RoutedEventArgs e ) : void
OnMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
UpdateMarkerPosition ( Color theColor ) : void
UpdateMarkerPosition ( Point p ) : void
ValueBox_MouseWheel ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void
ValueText_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
ValueText_LostFocus ( object sender, RoutedEventArgs e ) : void
Window_Loaded ( object sender, RoutedEventArgs e ) : void

Method Details

ColorSelector() public method

Default constructor.
public ColorSelector ( Color selectedColor, bool showAlpha = true ) : System
selectedColor Color
showAlpha bool
return System