public class Key : IDisposablePublic Class Key
Implements IDisposable| Key | Default constructor for Key. |
| Background | Gets or sets background gradient of Key |
| BackgroundFocussed | Gets or sets background gradient of focussed Key |
| BackgroundPressed | Gets or sets background gradient of Key when user presses the Key |
| BorderColor | Gets or sets the Brush that specifies how the Key outline is painted. |
| BorderColorFocussed | Gets or sets the Brush that specifies how the focussed Key outline is painted. |
| BorderColorPressed | Gets or sets the Brush that specifies how the pressed Key outline is painted. |
| CustomText | Gets or sets string that Keyboard will send when user presses the Key. |
| Focussed | Value indicating whether the key is focussed. |
| FocussedImage | Gets or sets bitmap for focussed image of the key. |
| FocussedImageArr | Converts PressedImage property to serializable format. |
| FontSize | Gets or sets font size. |
| FontStyle | Gets or sets font style used on key. |
| ForeColor | Gets or sets the Brush for font. |
| ForeColorFocussed | Gets or sets the Brush to apply to the text contents of the focussed Key. |
| ForeColorPressed | Gets or sets the Brush to apply to the text contents of the pressed Key. |
| ImageArr | Used to support serialization of Image property. |
| ImageFocussedArr | Used to support serialization of the focused image. |
| ImagePressedArr | Used to support serialization of the pressed image. |
| IsChecked | Gets or sets the checked state of the Key. |
| Location | Gets or sets location of the Key in the Keyboard layout. |
| MappedKey | Gets or sets key stroke that Keyboard sends when user presses a Key |
| Name | Gets or sets string that represents the Key |
| NormalImage | Gets or sets bitmap for normal image of the key. |
| NormalImageArr | Converts NormalImage property to serializable format. |
| PressedImage | Gets or sets bitmap for pressed image of the key. |
| PressedImageArr | Converts PressedImage property to serializable format. |
| Radius | Gets or sets the radius of the ellipse that is used to round the corners of the Key. |
| Rectangle | Gets the Rectangle which represents the location of this key on the keyboard layout. |
| SerializeBorderColor | Used for serialization of BorderColor. |
| SerializeBorderColorFocussed | Used for serialization of BorderColorFocussed. |
| SerializeBorderColorPressed | Used for serialization of BorderColorPressed. |
| SerializedMappedKey | Converts MappedKey to serializable format. |
| SerializeFontFamily | Used to support serialization of FontFamily property. |
| SerializeForeColor | Used for serialization of ForeColor |
| SerializeForeColorFocussed | Used for serialization of ForeColorFocussed. |
| SerializeForeColorPressed | Used for serialization of ForeColorPressed. |
| Size | Gets or sets size of the Key |
| SpecialKey | Gets or sets whenever special key stroke must be sent by Keyboard instead of MappedKey and CustomText. |
| Type | Gets or sets type of Key that specifies its behavior on user press. |
| Clone | Performs a deep copy of the Key object. |
| Dispose | Disposes current instance of Keyboard. |
| Dispose(Boolean) | Disposes the Key object freeing all resources used by it. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Key class finalizer.
(Overrides ObjectFinalize) |
| GetHashCode |
Returns an index of this key in the collection of keys managed by KeyboardControl. This index represents a hash code.
(Overrides ObjectGetHashCode) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString |
Turns this Key instance into String representation.
(Overrides ObjectToString) |