# ToolContextToolbar<T>(GUIContent, IList<T>)

> Makes a toolbar populated with the specified collection of editor tool contexts.

## Definition

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

```csharp
public static void ToolContextToolbar<T>(GUIContent content, IList<T> contexts) where T : EditorToolContext
```

### Parameters

**** (\[GUIContent]\(/engine/6000.0/script-reference/unityengine/guicontent)): An optional prefix label to display before the toolbar. Pass null to omit this prefix.**** (\[IList\<T>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1)): The collection of editor tools for the toolbar.
