C# Class Microsoft.Windows.Controls.ColorCanvas

Inheritance: System.Windows.Controls.Control
Afficher le fichier Open project: Invenietis/ck-certified Class Usage Examples

Méthodes publiques

Свойство Type Description
AProperty System.Windows.DependencyProperty
BProperty System.Windows.DependencyProperty
GProperty System.Windows.DependencyProperty
HexadecimalStringProperty System.Windows.DependencyProperty
RProperty System.Windows.DependencyProperty
SelectedColorChangedEvent System.Windows.RoutedEvent
SelectedColorProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
OnApplyTemplate ( ) : void

Méthodes protégées

Méthode Description
OnAChanged ( byte oldValue, byte newValue ) : void
OnBChanged ( byte oldValue, byte newValue ) : void
OnGChanged ( byte oldValue, byte newValue ) : void
OnHexadecimalStringChanged ( string oldValue, string newValue ) : void
OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
OnRChanged ( byte oldValue, byte newValue ) : void
OnSelectedColorChanged ( Color oldValue, Color newValue ) : void

Private Methods

Méthode Description
CalculateColor ( Point p ) : void
ColorCanvas ( ) : System.Windows
ColorShadingCanvas_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
ColorShadingCanvas_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
ColorShadingCanvas_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
ColorShadingCanvas_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
OnAChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnBChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnGChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnHexadecimalStringChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnRChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedColorChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SpectrumSlider_ValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void
UpdateColorShadeSelectorPosition ( Color color ) : void
UpdateColorShadeSelectorPositionAndCalculateColor ( Point p, bool calculateColor ) : void
UpdateRGBValues ( Color color ) : void
UpdateSelectedColor ( ) : void
UpdateSelectedColor ( Color color ) : void

Method Details

OnAChanged() protected méthode

protected OnAChanged ( byte oldValue, byte newValue ) : void
oldValue byte
newValue byte
Résultat void

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnBChanged() protected méthode

protected OnBChanged ( byte oldValue, byte newValue ) : void
oldValue byte
newValue byte
Résultat void

OnGChanged() protected méthode

protected OnGChanged ( byte oldValue, byte newValue ) : void
oldValue byte
newValue byte
Résultat void

OnHexadecimalStringChanged() protected méthode

protected OnHexadecimalStringChanged ( string oldValue, string newValue ) : void
oldValue string
newValue string
Résultat void

OnPreviewKeyDown() protected méthode

protected OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
Résultat void

OnRChanged() protected méthode

protected OnRChanged ( byte oldValue, byte newValue ) : void
oldValue byte
newValue byte
Résultat void

OnSelectedColorChanged() protected méthode

protected OnSelectedColorChanged ( Color oldValue, Color newValue ) : void
oldValue System.Windows.Media.Color
newValue System.Windows.Media.Color
Résultat void

Property Details

AProperty public_oe static_oe property

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

BProperty public_oe static_oe property

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

GProperty public_oe static_oe property

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

HexadecimalStringProperty public_oe static_oe property

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

RProperty public_oe static_oe property

public static DependencyProperty,System.Windows RProperty
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