Skip to main content

BrickStringFormat Members

Encapsulates text layout information (such as alignment, orientation and tab stops) and display manipulations (such as ellipsis insertion and national digit substitution).

Constructors

Name Description
BrickStringFormat() Initializes a new instance of the BrickStringFormat class with the default settings.
BrickStringFormat(DXStringAlignment, DXStringAlignment, DXStringFormatFlags, DXHotkeyPrefix, DXStringTrimming, BrickStringFormatPrototypeKind) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(DXStringAlignment, DXStringAlignment) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(DXStringAlignment) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(DXStringFormat) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(DXStringFormatFlags, DXStringAlignment, DXStringAlignment, DXStringTrimming, BrickStringFormatPrototypeKind) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(DXStringFormatFlags, DXStringAlignment, DXStringAlignment, DXStringTrimming) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(DXStringFormatFlags, DXStringAlignment, DXStringAlignment) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(DXStringFormatFlags) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(BrickStringFormat, DXStringAlignment, DXStringAlignment) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(BrickStringFormat, DXStringFormatFlags, BrickStringFormatPrototypeKind) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(BrickStringFormat, DXStringFormatFlags) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(BrickStringFormat, DXStringTrimming) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(BrickStringFormat, StringAlignment, StringAlignment) 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, BrickStringFormatPrototypeKind) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(BrickStringFormat, StringFormatFlags) 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) 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(BrickStringFormat) Initializes a new instance of the BrickStringFormat class with the values of the specified source brick string format.
BrickStringFormat(StringAlignment, StringAlignment, StringFormatFlags, HotkeyPrefix, StringTrimming, BrickStringFormatPrototypeKind) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(StringAlignment, StringAlignment) Initializes a new instance of the BrickStringFormat class with the specified text and line alignment.
BrickStringFormat(StringAlignment) Initializes a new instance of the BrickStringFormat class with the specified string alignment.
BrickStringFormat(StringFormat) Initializes a new instance of the BrickStringFormat class with the specified source.
BrickStringFormat(StringFormatFlags, StringAlignment, StringAlignment, StringTrimming, BrickStringFormatPrototypeKind) Initializes a new instance of the BrickStringFormat class with specified settings.
BrickStringFormat(StringFormatFlags, StringAlignment, StringAlignment, StringTrimming) Initializes a new instance of the BrickStringFormat class with the specified settings.
BrickStringFormat(StringFormatFlags, StringAlignment, StringAlignment) Initializes a new instance of the BrickStringFormat class with the specified formatting information, text and line alignment settings.
BrickStringFormat(StringFormatFlags) Initializes a new instance of the BrickStringFormat class with the specified formatting information.

Properties

Name Description
Alignment Gets or sets text alignment information.
FormatFlags Gets or sets a StringFormatFlags enumeration that contains formatting information.
HotkeyPrefix Gets the HotkeyPrefix object for this BrickStringFormat object.
LineAlignment Gets or sets line alignment.
PrototypeKind Gets a prototype string format for the current string format.
RightToLeft Gets a value indicating whether or not the right-to-left orientation is used.
Trimming Gets text trimming mode.
Value Gets the StringFormat instance representing current text formatting.
WordWrap Gets a value, specifying whether or not word-wrapping is available for the brick’s text.

Methods

Name Description
ChangeAlignment(DXStringAlignment, DXStringAlignment)
ChangeAlignment(DXStringAlignment)
ChangeAlignment(HorzAlignment, VertAlignment)
ChangeAlignment(TextAlignment)
ChangeAlignment(StringAlignment, StringAlignment) Returns a BrickStringFormat object cloned from the current BrickStringFormat object, with the new string and line alignment applied.
ChangeAlignment(StringAlignment) Returns a BrickStringFormat object cloned from the current BrickStringFormat object, with the new string alignment applied.
ChangeFormatFlags(DXStringFormatFlags)
ChangeFormatFlags(StringFormatFlags) Returns a BrickStringFormat object cloned from the current BrickStringFormat object.
ChangeLineAlignment(DXStringAlignment)
ChangeLineAlignment(StringAlignment) Returns a BrickStringFormat object cloned from the current BrickStringFormat object.
Clone() Creates an exact copy of the BrickStringFormat object.
Create(TextAlignment, DXStringFormatFlags, DXStringTrimming) static
Create(TextAlignment, Boolean, DXStringTrimming, Boolean) static
Create(TextAlignment, Boolean, StringTrimming, Boolean) static Creates a BrickStringFormat instance with the specified settings.
Create(TextAlignment, Boolean) static Creates a new instance of the BrickStringFormat class with the specified settings.
Create(TextAlignment, StringFormatFlags, StringTrimming) static Creates a new instance of the BrickStringFormat class with the specified settings.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether or not the specified object is equal to the current BrickStringFormat instance.
GetHashCode() Serves as the default hash function.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also