# ShowPanelReason enum

Namespace: [Rhino.UI](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.ui.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public enum ShowPanelReason
```

OnShowDockbar event type

## Values

| Name | Value | Description |
| --- | --- | --- |
| Show | 0 | Dock bar shown or made visible |
| Hide | 1 | Dock bar hidden, no longer visible |
| HideOnDeactivate | 2 | Dock bar temporarily hidden because the main Rhino application is no longer active. |
| ShowOnDeactivate | 3 | Dock bar that was temporarily hidden when the main Rhino application was deactivated is now being shown. |
