C# Класс 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.
Наследование: WPFKeyboard.Models.OnScreenKeyboardViewModel
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

BuildKeyboardLayout() публичный Метод

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.
Результат void

KPDOnScreenKeyboardViewModel() публичный Метод

Initializes a new instance of the KPDOnScreenKeyboardViewModel class.
public KPDOnScreenKeyboardViewModel ( string kpdFileLocation ) : System
kpdFileLocation string The KPD file location.
Результат System