Visibility

enumeration

Description 描述

Specifies whether or not an element is visible.

Properties 属性

VisibleThe element is visible. Default Value.
HiddenThe element is hidden. Hidden elements will take up space in their parent layout if their positionType is set to PositionType.Relative. Use the display property to both hide and remove an element from the parent VisualElement layout.