Table of Contents

Method OnSizeChanged

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

OnSizeChanged(object?, EventArgs)

Handles the size change event for the control and updates its bounds accordingly.

protected virtual void OnSizeChanged(object? sender, EventArgs e)

Parameters

sender object

The source of the event, typically the control whose size has changed.

e EventArgs

An EventArgs instance containing the event data.

Remarks

Derived classes can override this method to provide custom behavior when the control's size changes.