BrickStringFormat Constructors

Encapsulates text layout information (such as alignment, orientation and tab stops) and display manipulations (such as ellipsis insertion and national digit substitution).
Name Parameters Description
BrickStringFormat() none Initializes a new instance of the BrickStringFormat class with the default settings.
BrickStringFormat(BrickStringFormat) source Initializes a new instance of the BrickStringFormat class with the values of the specified source brick string format.
BrickStringFormat(BrickStringFormat, StringAlignment, StringAlignment) source, alignment, lineAlignment Initializes a new instance of the BrickStringFormat class with the values of the specified source brick string format. It also uses the specified text and line alignment settings.
BrickStringFormat(BrickStringFormat, StringFormatFlags) source, options Initializes a new instance of the BrickStringFormat class with the values of the specified source brick string format. It also uses the specified formatting settings.
BrickStringFormat(BrickStringFormat, StringTrimming) source, trimming Initializes a new instance of the BrickStringFormat class with the values of the specified source brick string format. It also uses the specified trimming settings.
BrickStringFormat(StringAlignment) alignment Initializes a new instance of the BrickStringFormat class with the specified string alignment.
BrickStringFormat(StringAlignment, StringAlignment) alignment, lineAlignment Initializes a new instance of the BrickStringFormat class with the specified text and line alignment.
BrickStringFormat(StringAlignment, StringAlignment, StringFormatFlags, HotkeyPrefix, StringTrimming) alignment, lineAlignment, formatFlags, hotkeyPrefix, trimming Initializes a new instance of the BrickStringFormat class with the specified text and line alignment, formatting settings, hotkey prefix and trimming mode.
BrickStringFormat(StringFormat) source Initializes a new instance of the BrickStringFormat class with the specified source.
BrickStringFormat(StringFormatFlags) options Initializes a new instance of the BrickStringFormat class with the specified formatting information.
BrickStringFormat(StringFormatFlags, StringAlignment, StringAlignment) options, alignment, lineAlignment Initializes a new instance of the BrickStringFormat class with the specified formatting information, text and line alignment settings.
BrickStringFormat(StringFormatFlags, StringAlignment, StringAlignment, StringTrimming) options, alignment, lineAlignment, trimming Initializes a new instance of the BrickStringFormat class with the specified settings.
See Also