C# Class WPFKeyboard.Controls.OnScreenKey

This is the button that represents a key on our keyboard
Inheritance: System.Windows.Controls.Button
ファイルを表示 Open project: pauldotknopf/WPFKeyboard

Public Properties

Property Type Description
IsActiveProperty System.Windows.DependencyProperty

Public Methods

Method Description
OnScreenKey ( OnScreenKeyboard onScreenKeyboard ) : System

Initializes a new instance of the OnScreenKey class.

Protected Methods

Method Description
OnIsPressedChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Private Methods

Method 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 method

protected OnIsPressedChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnScreenKey() public method

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

Property Details

IsActiveProperty public_oe static_oe property

See IsActive
public static DependencyProperty,System.Windows IsActiveProperty
return System.Windows.DependencyProperty