static class
|
ApplicationUtil
|
The configurator object for IApplication types.
public
static
property
|
Config
{
get
}
|
||
type
|
IConfigurator<IApplication>
|
||
value
|
|
The configurator object. |
Total number of mouse buttons.
public
constant
|
ButtonCount
=
3
|
||
type
|
int32
|
See also:
MouseButtonThe first mouse button constant (inclusive).
public
constant
|
ButtonFirst
=
MouseButton.Left
|
||
type
|
MouseButton
|
See also:
MouseButtonThe last mouse button constant (inclusive).
public
constant
|
ButtonLast
=
MouseButton.Right
|
||
type
|
MouseButton
|
See also:
MouseButtonAn
IInputState
object
that
always
returns
false
.
public
static
readonly
field
|
InputNone
|
||
type
|
IInputState
|
Remarks:
This
object
can
be
used
to
avoid
null
checks
when
using
InputAttach
and
InputDetach.
Total number of keyboard keys.
public
constant
|
KeyCount
=
98
|
||
type
|
int32
|
See also:
KeyboardKeyThe first keyboard key constant (inclusive).
public
constant
|
KeyFirst
=
KeyboardKey.Alt
|
||
type
|
KeyboardKey
|
See also:
KeyboardKeyThe last keyboard key constant (inclusive).
public
constant
|
KeyLast
=
KeyboardKey.Tab
|
||
type
|
KeyboardKey
|
See also:
KeyboardKeyThe text content of the system clipboard.
public
static
property
|
Clipboard
{
get
set
}
|
||
type
|
string
|
||
value
|
The
text
content
or
null . |
Returns the human-readable name of the given keyboard key.
[Pure]
|
||||
public
static
method
|
NameOf
(KeyboardKey key)
|
|||
type
|
string
|
|||
params
|
key
|
The keyboard key. | ||
returns
|
|
The human-readable name. |
Returns the human-readable name of the given mouse button.
[Pure]
|
||||
public
static
method
|
NameOf
(MouseButton button)
|
|||
type
|
string
|
|||
params
|
button
|
The mouse button. | ||
returns
|
|
The human-readable name. |
Returns the input modifier for the given mouse button.
[Pure]
|
||||
public
static
method
|
ToModifier
(MouseButton button)
|
|||
type
|
InputModifiers
|
|||
params
|
button
|
The mouse button. | ||
returns
|
The input modifier or None. |
Returns the input modifier for the given keyboard key.
[Pure]
|
||||
public
static
method
|
ToModifier
(KeyboardKey key)
|
|||
type
|
InputModifiers
|
|||
params
|
key
|
The keyboard key. | ||
returns
|
The input modifier or None. |