C# Class WPFKeyboard.Controls.OnScreenKey

This is the button that represents a key on our keyboard
Inheritance: System.Windows.Controls.Button
Afficher le fichier Open project: pauldotknopf/WPFKeyboard

Méthodes publiques

Свойство Type Description
IsActiveProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
OnScreenKey ( OnScreenKeyboard onScreenKeyboard ) : System

Initializes a new instance of the OnScreenKey class.

Méthodes protégées

Méthode Description
OnIsPressedChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Private Methods

Méthode Description
OnClick ( object sender, RoutedEventArgs routedEventArgs ) : void

This is raised when the button is released/clicked

OnDataContextChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

This is raised when the data context changes

OnMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs mouseButtonEventArgs ) : void

This is raised when the mouse is pressed (but not released)

Method Details

OnIsPressedChanged() protected méthode

protected OnIsPressedChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
Résultat void

OnScreenKey() public méthode

Initializes a new instance of the OnScreenKey class.
public OnScreenKey ( OnScreenKeyboard onScreenKeyboard ) : System
onScreenKeyboard OnScreenKeyboard
Résultat System

Property Details

IsActiveProperty public_oe static_oe property

See IsActive
public static DependencyProperty,System.Windows IsActiveProperty
Résultat System.Windows.DependencyProperty