# Sandbox.UI.Panel.StateHasChanged

```csharp
void StateHasChanged()
```

For razor panels, call when the state of the render tree has changed such that
it would be a good idea to re-render the tree. You would usually not need to call
this manually.

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
