Table of Contents

Class ModifierKeysConverter

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Converter class for converting between a string and the ModifierKeys.

public class ModifierKeysConverter : BaseTypeConverter
Inheritance
ModifierKeysConverter

Fields

Default

Gets or sets default ModifierKeysConverter implementation.

Methods

CanConvertTo(ITypeDescriptorContext?, Type?)
ConvertFrom(ITypeDescriptorContext?, CultureInfo?, object)
ConvertTo(ITypeDescriptorContext?, CultureInfo?, object?, Type)
FromString(string)

Parses string representation of the key modifiers.

IsDefinedModifierKeys(ModifierKeys)

Check for valid enum, as any int can be casted to the enum.

ToString(ModifierKeys, bool)

Converts ModifierKeys to string.