public sealed class KeyGestureFormatInfo : IFormatProviderPublic NotInheritable Class KeyGestureFormatInfo
Implements IFormatProvider[<SealedAttribute>]
type KeyGestureFormatInfo =
class
interface IFormatProvider
end| Alt | The string used to represent Alt on the appropriate platform. Defaults to "Alt". |
| Ctrl | The string used to represent Ctrl on the appropriate platform. Defaults to "Ctrl". |
| Invariant | The Invariant format. Only uses strings straight from the appropriate Enums. |
| Meta | The string used to represent Meta on the appropriate platform. Defaults to "Cmd". |
| Shift | The string used to represent Shift on the appropriate platform. Defaults to "Shift". |
| Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| FormatKey(Key) | Checks the platformKeyOverrides and s_commonKeyOverrides Dictionaries, in order, for the appropriate string to represent the given Key on this platform. NOTE: If platformKeyOverrides is null, this is assumed to be the Invariant and the Dictionaries are not checked. The plain Enum string is returned instead. |
| GetFormat(Type) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetInstance(IFormatProvider) | Gets the most appropriate KeyGestureFormatInfo for the IFormatProvider requested. This will be, in order: 1. The provided IFormatProvider as a KeyGestureFormatInfo 2. The currently registered platform specific KeyGestureFormatInfo, if present. 3. The Invariant otherwise. |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |