MobileForms Toolkit Documentation

Item.TextAlign Property

Gets or sets how text is aligned in the text part of the Item.

public System.Windows.Forms.HorizontalAlignment TextAlign {get; set;}

Property Value

One of the HorizontalAlignment enumeration values that specifies how text is aligned in the Item. The default is HorizontalAlignment.Left.

Remarks

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

See Also

Item Class | Resco.Controls.DetailView Namespace