Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

IResolvedStyle.display

public UIElements.DisplayStyle display;

Description

Defines how an element is displayed in the layout.

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).