Class
SpecialKeyViewModel

Represents the class for virtual keyboard special key view models.

Definition

Namespace:Telerik.Windows.Controls.VirtualKeyboard

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class SpecialKeyViewModel : BaseKeyViewModel, INotifyPropertyChanged, IDisposable

Inheritance: objectViewModelBaseBaseKeyViewModelSpecialKeyViewModel

Implements: IDisposableINotifyPropertyChanged

Inherited Members BaseKeyViewModel.Update(IKeyUpdateContext)BaseKeyViewModel.GetModifiers()BaseKeyViewModel.KeyCommandBaseKeyViewModel.KeySoundPlayerBaseKeyViewModel.VirtualKeyBaseKeyViewModel.KeyTypeBaseKeyViewModel.KeyWidthBaseKeyViewModel.KeyHeightBaseKeyViewModel.ModifierKeysBaseKeyViewModel.DisplayTextViewModelBase.VerifyPropertyName(string)ViewModelBase.InvokeOnUIThread(Action)ViewModelBase.Dispose()ViewModelBase.RaisePropertyChanged(string)ViewModelBase.OnPropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewModelBase.Dispose(bool)ViewModelBase.PropertyChanged

Constructors

SpecialKeyViewModel(int, double, double, string)

Initializes a new instance of the SpecialKeyViewModel class.

Declaration

cs-api-definition
public SpecialKeyViewModel(int virtualKey, double keyWidth, double keyHeight, string displayText)

Parameters

virtualKey

int

The virtual key.

keyWidth

double

The width of the key.

keyHeight

double

The height of the key.

displayText

string

The display text of the key.

Methods

OnKeyCommandExecuted(object)

The method called by the default command assigned to the key.

Declaration

cs-api-definition
protected override void OnKeyCommandExecuted(object commandParameter)

Parameters

commandParameter

object

Overrides BaseKeyViewModel.OnKeyCommandExecuted(object)