Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
The key structure is used to store a key press.
public class Key : IDisposable
- Inheritance
-
- Implements
-
System.IDisposable
Constructors
Declaration
Fields
View Source
disposed
A Flat to check if it is already disposed.
Declaration
Field Value
Declaration
protected bool swigCMemOwn
Field Value
Properties
View Source
DeviceClass
Get the device class the key event originated from.
Declaration
public DeviceClassType DeviceClass { get; }
Property Value
Declaration
public string DeviceName { get; }
Property Value
View Source
DeviceSubClass
Get the device subclass the key event originated from.
Declaration
public DeviceSubClassType DeviceSubClass { get; }
Property Value
Declaration
public int KeyCode { get; set; }
Property Value
View Source
KeyModifier
Special keys like Shift, Alt, and Ctrl which modify the next key pressed.
Declaration
public int KeyModifier { get; set; }
Property Value
View Source
KeyPressedName
Name given to the key pressed.
Declaration
public string KeyPressedName { get; set; }
Property Value
Declaration
public Key.StateType State { get; set; }
Property Value
View Source
Time
The time (in ms) that the key event occurred.
Declaration
public uint Time { get; set; }
Property Value
Methods
Declaration
Declaration
protected virtual void Dispose(DisposeTypes type)
Parameters
Declaration
View Source
IsAltModifier()
Checks to see if Alt key modifier has been supplied.
Declaration
public bool IsAltModifier()
Returns
Type |
Description |
bool |
True if Alt modifier.
|
View Source
IsCtrlModifier()
Checks to see if Ctrl (control) key modifier has been supplied.
Declaration
public bool IsCtrlModifier()
Returns
Type |
Description |
bool |
True if Ctrl modifier.
|
View Source
IsShiftModifier()
Checks to see if the Shift key modifier has been supplied.
Declaration
public bool IsShiftModifier()
Returns
Type |
Description |
bool |
True if Shift modifier.
|
Implements
System.IDisposable