C# Class ColorBox.AlphaSelector

Inheritance: BaseSelector
Show file Open project: SpoinkyNL/Artemis Class Usage Examples

Public Properties

Property Type Description
AlphaOffsetProperty System.Windows.DependencyProperty
AlphaProperty System.Windows.DependencyProperty

Public Methods

Method Description
AlphaChanged ( object o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
AlphaCoerce ( DependencyObject d, object brightness ) : object

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnRender ( System.Windows.Media.DrawingContext dc ) : void

Private Methods

Method Description
SetAlphaOffset ( ) : void
SetColor ( ) : void

Method Details

AlphaChanged() public static method

public static AlphaChanged ( object o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
o object
e System.Windows.DependencyPropertyChangedEventArgs
return void

AlphaCoerce() public static method

public static AlphaCoerce ( DependencyObject d, object brightness ) : object
d System.Windows.DependencyObject
brightness object
return object

ArrangeOverride() protected method

protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
return System.Windows.Size

OnMouseDown() protected method

protected OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

OnRender() protected method

protected OnRender ( System.Windows.Media.DrawingContext dc ) : void
dc System.Windows.Media.DrawingContext
return void

Property Details

AlphaOffsetProperty public static property

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

AlphaProperty public static property

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