Method AlignHorizontal
AlignHorizontal(RectD, Control, SizeD, HorizontalAlignment)
Calculates horizontal Control.AlignedPosition using align parameters.
public static Control.AlignedPosition AlignHorizontal(RectD layoutBounds, Control childControl, SizeD childPreferredSize, HorizontalAlignment alignment)
Parameters
layoutBounds
RectDRectangle in which alignment is performed.
childControl
ControlControl to align.
childPreferredSize
SizeDPreferred size.
alignment
HorizontalAlignmentAlignment of the control.