Class LockKeyViewModel
Represents the class for virtual keyboard lock key view models.
Inherited Members
Namespace: Telerik.Windows.Controls.VirtualKeyboard
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class LockKeyViewModel : BaseKeyViewModel, INotifyPropertyChanged, IDisposable
Constructors
LockKeyViewModel(Int32, Double, Double, String)
Initializes a new instance of the LockKeyViewModel class.
Declaration
public LockKeyViewModel(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. |
Properties
IsChecked
Gets or sets the check state of the key.
Declaration
public bool IsChecked { get; set; }
Property Value
System.Boolean
|
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 based on the provided key update context.
Declaration
public override void Update(IKeyUpdateContext context)
Parameters
IKeyUpdateContext
context
The context that contains information about the key update. |