What are accelerators in C# and how do I use them?

2.2k Views Asked by At

In my online course I'm asked to put a label (lblQuestion with accelerator) and ComboBox on a form.

Putting a label and a combo box on a form is simple enough in VS 2010, but I am not sure what an accelerator is and how I use it?

1

There are 1 best solutions below

2
On BEST ANSWER

For setting an accelerator you will use & character in front of the letter of your label, that you need to make available as an accelerator. See here: http://blog.csharphelper.com/2012/05/30/use-accelerators-on-labels-and-buttons-in-c.aspx for more details.