Visibility Enum

Definition

Specifies the display state of an element.

public enum class Visibility
public enum Visibility
type Visibility = 
Public Enum Visibility
Inheritance
Visibility

Fields

Collapsed 2

Do not display the element, and do not reserve space for it in layout.

Hidden 1

Do not display the element, but reserve space for the element in layout.

Visible 0

Display the element.

Remarks

Elements that have a Visibility value of Collapsed do not occupy any layout space. By default, elements are Visible.

Applies to

See also