# RefreshExpandedState()

> After adding custom elements to the extensionContainer, call this method in order for them to become visible.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Experimental.GraphView](/engine/6000.5/script-reference/unityeditor/experimental/graphview.md)
* **Assembly:** UnityEditor

```csharp
public void RefreshExpandedState()
```
