Table of Contents

Method SetContentVisibility

Namespace
Alternet.Maui
Assembly
Alternet.UI.Maui.dll

SetContentVisibility(bool, double)

Sets the visibility of the content and updates the minimum height based on the suggested value.

public virtual void SetContentVisibility(bool visible, double suggestedHeight)

Parameters

visible bool

A value indicating whether the content should be visible. Set to true to make the content visible; otherwise, false.

suggestedHeight double

The suggested minimum height, in device-independent units (DIPs), to apply when the content is visible.