Specifies appearance of keys.
The following tables list the members exposed by the KeyTemplate type.
Public Constructors| Name | Description | |
|---|---|---|
![]() |
Initializes a new instance of the KeyTemplate class. |
Public Methods| Name | Description | |
|---|---|---|
![]() |
Draws the specified key using this template. |
|
![]() |
Gets the color of alter-case characters. |
|
![]() |
Gets the background brush. |
|
![]() |
Gets the Pen used to draw key borders. |
|
![]() |
Gets the radius of keys' rounded corners. |
|
![]() |
Gets the background of hovered keys. |
|
![]() |
Gets how images are aligned inside keys. |
|
![]() |
Gets the color of lower-case characters. |
|
![]() |
Gets the background of pressed keys. |
|
![]() |
Gets the color of upper-case characters. |
|
![]() |
Sets the color of alter-case characters. |
|
![]() |
Sets the background brush. |
|
![]() |
Sets the Pen used to draw key borders. |
|
![]() |
Sets the radius of keys' rounded corners. |
|
![]() |
Sets the background of hovered keys. |
|
![]() |
Sets how images are aligned inside keys. |
|
![]() |
Sets the color of lower-case characters. |
|
![]() |
Sets the background of pressed keys. |
|
![]() |
Sets the color of upper-case characters. |
Protected Methods| Name | Description | |
|---|---|---|
![]() |
Override this method to render custom key background. |
|
![]() |
Override this method to render custom key border. |
See Also