Table of Contents

Method GetVisibleChildWithMaxRight

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetVisibleChildWithMaxRight()

Retrieves the visible child control with the maximum right boundary value.

public virtual AbstractControl? GetVisibleChildWithMaxRight()

Returns

AbstractControl

The visible child control with the maximum right boundary value, or null if there are no visible children.

Remarks

This method iterates through the child controls and identifies the visible child with the highest right boundary value, as determined by the Bounds property. If no visible children are present, the method returns null.