C# Class WPFKeyboard.KPDOnScreenKeyboardViewModel

This view model uses a KPD dll to build the keyboard layout. Supporting KPD files allows us to instantly support every windows language.
Inheritance: WPFKeyboard.Models.OnScreenKeyboardViewModel
Mostrar archivo Open project: pauldotknopf/WPFKeyboard

Public Methods

Method Description
BuildKeyboardLayout ( KeyboardLayout keyboardLayout ) : void

Build the keyboard layout based on the given class that represents the KPD file given in the constructor.

KPDOnScreenKeyboardViewModel ( string kpdFileLocation ) : System

Initializes a new instance of the KPDOnScreenKeyboardViewModel class.

Private Methods

Method Description
BuildRow1 ( KeyboardLayout layout ) : OnScreenKeyboardRowViewModel
BuildRow2 ( KeyboardLayout layout ) : OnScreenKeyboardRowViewModel
BuildRow3 ( KeyboardLayout layout ) : OnScreenKeyboardRowViewModel
BuildRow4 ( KeyboardLayout layout ) : OnScreenKeyboardRowViewModel
BuildRow5 ( KeyboardLayout layout ) : OnScreenKeyboardRowViewModel
KeyForScanCode ( int scanCode, KeyboardLayout layout, int widthWeight = 10, bool isE0 = false, bool isE1 = false ) : BaseOnScreenKeyViewModel

Method Details

BuildKeyboardLayout() public method

Build the keyboard layout based on the given class that represents the KPD file given in the constructor.
public BuildKeyboardLayout ( KeyboardLayout keyboardLayout ) : void
keyboardLayout KeyboardLayout The keyboard layout.
return void

KPDOnScreenKeyboardViewModel() public method

Initializes a new instance of the KPDOnScreenKeyboardViewModel class.
public KPDOnScreenKeyboardViewModel ( string kpdFileLocation ) : System
kpdFileLocation string The KPD file location.
return System