# 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.5/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor.CoreModule

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

### Remarks

Additional Resources: [TreeView\<TIdentifier>.ContextClickedItem](/engine/6000.5/script-reference/unityeditor/imgui/controls/treeview1/contextclickeditem.md).
