New to Telerik UI for WPFStart a free 30-day trial

Represents the class for virtual keyboard special key view models.

Definition

Constructors

Initializes a new instance of the SpecialKeyViewModel class.

C#
public SpecialKeyViewModel(int virtualKey, double keyWidth, double keyHeight, string displayText)
Parameters:virtualKeyint

The virtual key.

keyWidthdouble

The width of the key.

keyHeightdouble

The height of the key.

displayTextstring

The display text of the key.

Methods

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

C#
protected override void OnKeyCommandExecuted(object commandParameter)
Parameters:commandParameterobject

Overrides: BaseKeyViewModel.OnKeyCommandExecuted(object)