AcceleratorTypeConverter Class

Definition

Caution

Use KeyboardAccelerator instead.

Class that the XAML parser uses to convert strings to Accelerator objects.

public ref class AcceleratorTypeConverter : System::ComponentModel::TypeConverter
public class AcceleratorTypeConverter : System.ComponentModel.TypeConverter
[System.Obsolete("Use KeyboardAccelerator instead.")]
public class AcceleratorTypeConverter : System.ComponentModel.TypeConverter
type AcceleratorTypeConverter = class
    inherit TypeConverter
[<System.Obsolete("Use KeyboardAccelerator instead.")>]
type AcceleratorTypeConverter = class
    inherit TypeConverter
Public Class AcceleratorTypeConverter
Inherits TypeConverter
Inheritance
AcceleratorTypeConverter
Attributes

Remarks

The given string value may contain a combination of "CTRL", "CMD", "ALT", "SHIFT", "FN", or "WIN", in any combination of upper or lower case letters, as well as any available keys on the platform. The returned Accelerator has its Modifiers array filled with the specified modifiers, and its Keys array filled with the remaining keys.

Constructors

AcceleratorTypeConverter()

Methods

CanConvertFrom(ITypeDescriptorContext, Type)
CanConvertTo(ITypeDescriptorContext, Type)
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Applies to