## ToggleButtonActiveXControl::SetAccelerator method


Gets and sets the accelerator key for the control.

```cpp
void Aspose::Cells::Drawing::ActiveXControls::ToggleButtonActiveXControl::SetAccelerator(char16_t value)
```


## Examples


```cpp
if (u'\0' != activeXControl.GetAccelerator())
{
    activeXControl.SetAccelerator(u'\0');
}
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [ToggleButtonActiveXControl](../)
* Namespace [Aspose::Cells::Drawing::ActiveXControls](../../)
* Library [Aspose.Cells for C++](../../../)
