MobileForms Toolkit Documentation

Item.LabelAlignment Property

Gets or sets how label is aligned in an Item.

public virtual System.Windows.Forms.HorizontalAlignment LabelAlignment {get; set;}

Property Value

One of the HorizontalAlignment enumeration values that specifies how label is aligned in the control. The default is HorizontalAlignment.Right.

Remarks

You can use this property to align the label within a Label field to match the layout of text on your Item. For example, if your want label on the left side of the Item, you can set the TextAlign property to HorizontalAlignment.Left, and the text will be aligned with the left side of the Item instead of the default right alignment.

See Also

Item Class | Resco.Controls.DetailView Namespace