Visibility Visibility Visibility Visibility Enum

Definition

Specifies the display state of an element.

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

Fields

Collapsed Collapsed Collapsed Collapsed 2

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

Hidden Hidden Hidden Hidden 1

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

Visible Visible Visible 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