Visibility 枚举
定义
指定元素的显示状态。Specifies the display state of an element.
public enum class Visibility
public enum Visibility
type Visibility =
Public Enum Visibility
- 继承
字段
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. |
注解
Visibility值为 "折叠" 的元素不占用任何布局空间。Elements that have a Visibility value of Collapsed do not occupy any layout space. 默认情况下, 元素可见。By default, elements are Visible.