C# Class WPFKeyboard.Controls.OnScreenKeyboard

Inheritance: System.Windows.Controls.Grid
Show file Open project: pauldotknopf/WPFKeyboard Class Usage Examples

Public Properties

Property Type Description
OnScreenKeyControlBuilderProperty System.Windows.DependencyProperty
OnScreenKeyStyleProperty System.Windows.DependencyProperty

Public Methods

Method Description
BuildContentControlForKey ( BaseOnScreenKeyViewModel keyViewModel ) : object

Build the control that is to be used for the given key view model

OnScreenKeyboard ( ) : System.Collections.Specialized

Private Methods

Method Description
OnDataContextChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void
OnKeyDown ( object sender, System args ) : void
OnKeyPress ( object sender, System args ) : void
OnKeyUp ( object sender, System args ) : void
OnLoaded ( object sender, RoutedEventArgs routedEventArgs ) : void
OnScreenKeyControlBuilderPropertyChangedCallback ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnScreenKeyControlBuilderValidateValueCallback ( object value ) : bool
OnSectionsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnUnloaded ( object sender, RoutedEventArgs routedEventArgs ) : void
PrintState ( ) : void
RefreshKeyContentControls ( ) : void

Calling this method will rebuild the controls for every key

Method Details

BuildContentControlForKey() public method

Build the control that is to be used for the given key view model
public BuildContentControlForKey ( BaseOnScreenKeyViewModel keyViewModel ) : object
keyViewModel WPFKeyboard.Models.BaseOnScreenKeyViewModel The key view model.
return object

OnScreenKeyboard() public method

public OnScreenKeyboard ( ) : System.Collections.Specialized
return System.Collections.Specialized

Property Details

OnScreenKeyControlBuilderProperty public static property

See OnScreenKeyControlBuilder
public static DependencyProperty,System.Windows OnScreenKeyControlBuilderProperty
return System.Windows.DependencyProperty

OnScreenKeyStyleProperty public static property

See OnScreenKeyStyle
public static DependencyProperty,System.Windows OnScreenKeyStyleProperty
return System.Windows.DependencyProperty