Method AlignVertical
AlignVertical(RectD, Control, SizeD, VerticalAlignment)
Calculates vertical Control.AlignedPosition using align parameters.
public static Control.AlignedPosition AlignVertical(RectD layoutBounds, Control control, SizeD childPreferredSize, VerticalAlignment alignment)
Parameters
layoutBounds
RectDRectangle in which alignment is performed.
control
ControlControl to align.
childPreferredSize
SizeDPreferred size.
alignment
VerticalAlignmentAlignment of the control.