C# Class ColorPicker.HsvControl

Inheritance: System.Windows.Controls.Control
Afficher le fichier Open project: MadoxLabs/NoiseTool Class Usage Examples

Méthodes publiques

Свойство Type Description
HueProperty System.Windows.DependencyProperty
SaturationProperty System.Windows.DependencyProperty
SelectedColorChangedEvent System.Windows.RoutedEvent
SelectedColorProperty System.Windows.DependencyProperty
ValueProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
OnApplyTemplate ( ) : void

Méthodes protégées

Méthode Description
OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void

Private Methods

Méthode Description
HsvControl ( ) : System
LimitValue ( double value, double max ) : double
OnHueChanged ( DependencyObject relatedObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSaturationChanged ( DependencyObject relatedObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnThumbDragDelta ( System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
OnThumbDragDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
OnValueChanged ( DependencyObject relatedObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
UpdatePositionAndSaturationAndValue ( double positionX, double positionY ) : void
UpdateSelectedColor ( ) : void
UpdateThumbPosition ( ) : void

Method Details

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnMouseLeftButtonDown() protected méthode

protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
Résultat void

OnRenderSizeChanged() protected méthode

protected OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
sizeInfo System.Windows.SizeChangedInfo
Résultat void

Property Details

HueProperty public_oe static_oe property

public static DependencyProperty,System.Windows HueProperty
Résultat System.Windows.DependencyProperty

SaturationProperty public_oe static_oe property

public static DependencyProperty,System.Windows SaturationProperty
Résultat System.Windows.DependencyProperty

SelectedColorChangedEvent public_oe static_oe property

public static RoutedEvent,System.Windows SelectedColorChangedEvent
Résultat System.Windows.RoutedEvent

SelectedColorProperty public_oe static_oe property

public static DependencyProperty,System.Windows SelectedColorProperty
Résultat System.Windows.DependencyProperty

ValueProperty public_oe static_oe property

public static DependencyProperty,System.Windows ValueProperty
Résultat System.Windows.DependencyProperty