Search
KeyTemplate Members
Constructors Properties Methods
 


Specifies appearance of keys.

The following tables list the members exposed by the KeyTemplate type.

 Public Constructors

  Name Description

KeyTemplate

Initializes a new instance of the KeyTemplate class.

 Public Properties

  Name Description

AlterCaseForeground

Gets or sets the color of alter-case characters.

Background

Gets or sets the background brush.

Border

Gets or sets a Pen used to draw key borders.

CornerRadius

Radius of keys' rounded corners.

HoverBackground

Gets or sets the background of hovered key.

LowerCaseForeground

Gets or sets the color of lower-case characters.

PressedBackground

Gets or sets the background of pressed key.

UpperCaseForeground

Gets or sets the color of upper-case characters.

 Public Methods

  Name Description

Draw

Draws the specified key using this template.

 Protected Methods

  Name Description

AddRoundRect

Create a rounded rectangle.

 See Also