# Sandbox.UI.BaseVirtualPanel.RemoveItem

```csharp
bool RemoveItem(object item)
```

Removes the first occurrence of a specific item and marks the panel for rebuild.

### Parameters

- `item` (`object`): The item to remove.

### Returns

`bool`: True if item was found and removed; otherwise false.

Declared in [Sandbox.UI.BaseVirtualPanel](/api/Sandbox.UI.BaseVirtualPanel).
Assembly: `Sandbox.Engine`.
