Visibility 列舉

定義

指定項目的顯示狀態。Specifies the display state of an element.

public enum class Visibility
public enum Visibility
type Visibility = 
Public Enum Visibility
繼承
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.

適用於

另請參閱