# ContextClicked()

> Override this method to handle context clicks outside any items (but still in the TreeView rect).

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.0/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor

```csharp
protected virtual void ContextClicked()
```

### Remarks

Additional Resources: [TreeView.ContextClickedItem](/engine/6000.0/script-reference/unityeditor/imgui/controls/treeview/contextclickeditem.md).
