Skip to main content linkedinfacebooktwittermenuarrow-up

TextBox content: VerticalAlignment Completed

For text inside a TextBox: It would be nice to have the possibility to set the vertical alignment to 'center' or 'bottom' if required (in addition to the default 'VerticalAlignment.Top').
For example as a property of the 'TextBoxFormat' Class, it seems there is already a private field that reflects the vertical alignment (0,1,2) when reading a document.

Official response

Mario at GemBox


We have now exposed this as a public API.

You're now able to use TextBox.TextBoxFormat.VerticalAlignment property to set the desired vertical alignment.

Note that this is available in the latest publicly released bugfix version.


Comment (1)

Great !
Thanks a lot.