C# Class FirstFloor.ModernUI.Dialogs.ScreenColorPickerDialog

Inheritance: INotifyPropertyChanged
显示文件 Open project: gro-ove/actools Class Usage Examples

Public Methods

Method Description
GetPixelColor ( int x, int y ) : Color
Pick ( ) : Color?
ScreenColorPickerDialog ( ) : System

Private Methods

Method Description
CopyScreen ( ) : System.Windows.Media.Imaging.BitmapSource
OnKeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnMouseLeave ( object sender, MouseEventArgs e ) : void
OnMouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseMove ( object sender, MouseEventArgs e ) : void
OnPropertyChanged ( [ propertyName = null ) : void

Method Details

GetPixelColor() public method

public GetPixelColor ( int x, int y ) : Color
x int
y int
return System.Windows.Media.Color

Pick() public static method

public static Pick ( ) : Color?
return Color?

ScreenColorPickerDialog() public method

public ScreenColorPickerDialog ( ) : System
return System