Class ModifierKeyViewModel
Represents the class for virtual keyboard modifier key view models.
Inherited Members
Namespace: Telerik.Windows.Controls.VirtualKeyboard
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class ModifierKeyViewModel : BaseKeyViewModel, INotifyPropertyChanged, IDisposable
Constructors
ModifierKeyViewModel(Int32, Double, Double, String)
Initializes a new instance of the ModifierKeyViewModel class.
Declaration
public ModifierKeyViewModel(int virtualKey, double keyWidth, double keyHeight, string displayText)
Parameters
System.Int32
virtualKey
The virtual key. |
System.Double
keyWidth
The width of the key. |
System.Double
keyHeight
The height of the key. |
System.String
displayText
The display text of the key. |
Methods
OnKeyCommandExecuted(Object)
The method called by the default command assigned to the key.
Declaration
protected override void OnKeyCommandExecuted(object commandParameter)
Parameters
System.Object
commandParameter
|
Overrides
Update(IKeyUpdateContext)
Updates the state of the virtual keyboard modifier key based on the specified key update context.
Declaration
public override void Update(IKeyUpdateContext context)
Parameters
IKeyUpdateContext
context
An instance of IKeyUpdateContext that contains the information needed to update the key. |