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 : TypeConverter
Inheritance
ModifierKeysConverter

Methods

CanConvertFrom(ITypeDescriptorContext?, Type)
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.