# Remove(StyleSheet)

> Removes a style sheet for the owner element.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.0/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public bool Remove(StyleSheet styleSheet)
```

### Parameters

**** (\[StyleSheet]\(/engine/6000.0/script-reference/unityengine/uielements/stylesheet)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
