Export (0) Print
Expand All

AcceleratorPrimary class

Primary Keyboard Accelerator. When the object is serialized out as xml, its qualified name is xvml:Accel.

Namespace:  DocumentFormat.OpenXml.Vml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class AcceleratorPrimary : OpenXmlLeafTextElement

[ISO/IEC 29500-1 1st Edition]

Accel (Primary Keyboard Accelerator)

This element specifies the primary keyboard accelerator for an object. The value is the decimal value of the Unicode character corresponding to the accelerator key. This element is used for buttons, checkboxes, radio buttons and group boxes.

[Example: The primary accelerator key is 'A' (65 is the decimal value for 'A' (U+0041)):

<x:ClientData … >
  <x:Accel>65</x:Accel>
</x:ClientData
>

end example]

The possible values for this element are defined by the W3C XML Schema integer datatype.

Parent Elements

ClientData (§14.4.2.12)

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft