다음을 통해 공유


VisualElement.IsVisible 속성

정의

이 요소가 화면에 표시되고 레이아웃에서 공간을 차지할지 여부를 결정하는 값을 가져오거나 설정합니다. 이는 바인딩 가능한 속성입니다.

public:
 property bool IsVisible { bool get(); void set(bool value); };
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.VisualElement+VisibilityConverter))]
public bool IsVisible { get; set; }
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.VisualElement+VisibilityConverter))>]
member this.IsVisible : bool with get, set
Public Property IsVisible As Boolean

속성 값

특성

설명

요소가 IsVisible 설정된 false 경우 더 이상 레이아웃에서 공간을 차지하지 않거나 모든 종류의 입력 이벤트를 받을 수 있습니다.

적용 대상