The AllowKeysEnum type specifies the keys to be
combined in order to start an UI operation. For instance, the
AllowCreateElement
property of AllowKeysEnum type indicates the keys combination to let user
creates a new element at runtime. By default, this property is set on
exLeftClick +
exDblClick, which means the user is able to create a new element by double left
click. If this property is set on exRightClick + exCRTLKey the user should
press the CTRL key while right clicking the control to start creating a new
element. If the exDblClick flag is included, the user requires to do a double
click instead single click to perform the operation. The exDisallow flag
indicates that the operation is not allowed.
The AllowKeysEnum type supports the following values:
| | Name | Value | Description | |
| |
exDisallow | 0
|
The operation is not allowed.
| |
| |
exLeftClick | 1
|
The operation starts once the user clicks the left mouse button.
| |
| |
exRightClick | 2
|
The operation starts if the user clicks the right mouse button.
| |
| |
exMiddleClick | 3
|
The operation starts if the user clicks the middle mouse button.
| |
| |
exSHIFTKey | 8
|
The operation may start only if the user presses the SHIFT key.
| |
| |
exCTRLKey | 16
|
The operation may start only if the user presses the CTRL key.
| |
| |
exALTKey | 32
|
The operation may start only if the user presses the ALT key.
| |
| |
exDblClick | 64
|
The operation starts only if the user double clicks, instead single click.
| |