# Editor.ControlWidget.OnLabelContextMenu

```csharp
void OnLabelContextMenu(ContextMenu menu)
```

Called when right clicking a label in a ControlSheet for this widget. This allows
you to add advanced menu items for this widget at the top of the menu, before the default ones.

### Parameters

- `menu` (`ContextMenu`)

Declared in [Editor.ControlWidget](/api/Editor.ControlWidget).
Assembly: `Sandbox.Tools`.
