VisualElement.IsVisible Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that determines whether this element will be visible on screen and take up space in layouts. This is a bindable property.
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
Property Value
- Attributes
Remarks
When an element has IsVisible set to false
it will no longer take up space in layouts or be eligible to receive any kind of input event.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.