Method GetRealArrowSize
GetRealArrowSize(float, MetricsInfo)
Calculates the actual size of the arrow button for the scrollbar, considering the control's scale factor, margins, and bounds.
public virtual float GetRealArrowSize(float scaleFactor, ScrollBar.MetricsInfo metrics)
Parameters
scaleFactorfloatThe scaling factors.
metricsScrollBar.MetricsInfoThe metrics information for the scrollbar, providing details such as arrow bitmap size.
Returns
Remarks
The calculated size ensures that the arrow button fits within the available bounds while respecting the specified margins. If the computed size does not align with the button's dimensions, it is adjusted to maintain consistency.