Table of Contents

Method SetContentVerticalAlignment

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

SetContentVerticalAlignment(VerticalAlignment)

Sets the vertical alignment for the content elements within the control.

public virtual void SetContentVerticalAlignment(VerticalAlignment alignment)

Parameters

alignment VerticalAlignment

The 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.