# display

> Defines how an element is displayed in the layout.

## Definition

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

```csharp
DisplayStyle display { get; }
```

### Remarks

Unlike the visibility property, this property affects the layout of the element. This is a convenient way to hide an element without removing it from the hierarchy (when using the [DisplayStyle.None](/engine/6000.0/script-reference/unityengine/uielements/displaystyle/none.md)).
