Method SetContentVerticalAlignment
SetContentVerticalAlignment(VerticalAlignment)
Sets the vertical alignment for the content elements within the control.
public virtual void SetContentVerticalAlignment(VerticalAlignment alignment)
Parameters
alignmentVerticalAlignmentThe vertical alignment to apply to the content elements. Valid values are defined by the VerticalAlignment enumeration.
Remarks
This method updates the vertical alignment of the picture, spacer, and label elements within the control. After applying the alignment, the layout is recalculated and the control is invalidated.