/// <summary> /// Sets the relative position of a Label with respect to its associated element /// in a FormPanel. /// </summary> /// <param name="element">The Label element to set.</param> /// <param name="labelPosition">The relative position.</param> public static void SetLabelPosition(Label element, FormPanelLabelPosition labelPosition) { element.SetValue(LabelPositionProperty, labelPosition); }