Table of Contents

Method GetMaxToolRightSideElementWidth

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

GetMaxToolRightSideElementWidth()

Calculates the maximum width of the right side of all tool labels within the collection of child elements.

public virtual float GetMaxToolRightSideElementWidth()

Returns

float

The maximum right-side width of the labels for all SpeedButton elements in the collection. Returns 0 if no such elements are found.

Remarks

This method iterates through the child elements and evaluates the right-side width of labels associated with any child that is a SpeedButton. Only the maximum width encountered is returned. If no SpeedButton elements are present, the method returns 0.