Table of Contents

Method UpdateInnerControlBounds

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

UpdateInnerControlBounds(RectD)

Updates the bounds of the inner control to fit within the specified maximum dimensions.

protected virtual void UpdateInnerControlBounds(RectD max)

Parameters

max RectD

The maximum allowable dimensions for the inner control, represented as a rectangle.

Remarks

This method adjusts the size of the inner control to ensure it does not exceed the specified maximum dimensions. If the control has an associated interior layout, the bounds are further refined based on the layout's client area. The method ensures that the width and height of the control are non-negative.