Skip to main content

TextOptions Properties

Contains options that specify how text is rendered.
Name Description
DefaultOptions static Gets an object that specifies the default text options.
DefaultOptionsCenteredWithEllipsis static Gets an object whose settings force text to be centered.
DefaultOptionsMultiLine static Gets an object whose settings allow text to wrap.
DefaultOptionsNoWrap static Gets an object whose settings prevent text from wrapping.
DefaultOptionsNoWrapEx static Gets an object whose settings force text to be centered and prevent it from wrapping.
DefaultStringFormat static Gets an object that contains the default formatting settings.
HAlignment Gets or sets the horizontal alignment of text.
HotkeyPrefix Gets or sets whether to underline characters that are preceded with an ampersand symbol (&). This option is supported by a set of controls.
RightToLeft Gets or sets whether the text is directed from right to left.
Trimming Gets or sets text trimming mode.
VAlignment Gets or sets the vertical alignment of text.
WordWrap Gets or sets text wrapping mode.
See Also