Table of Contents

Method SetMinimumHeightFromContent

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

SetMinimumHeightFromContent(double)

Sets the minimum height of the control based on the visibility of its content and a suggested height value.

public virtual void SetMinimumHeightFromContent(double suggestedHeight)

Parameters

suggestedHeight double

The height, in device-independent units, to use as the minimum height when the content is visible.

Remarks

If the content is not visible, the minimum height is set to the height of the header instead of the suggested value.