[]
Represents the formatting value result.
public struct FormatResult
Public Structure FormatResult
Name | Description |
---|---|
AnyValue | Represents any value which may be formatted. |
Failed | Represents an unsuccess format result. |
Name | Description |
---|---|
Color | Gets the formatting color. |
DisplayStyle | Gets a value indicating whether the formatted text should be displayed as numeric style. |
RepeatChar | Gets the repeating character. |
RepeatIndex | Gets the position of the repeat character. |
RichText | Gets the rich text. |
Success | Gets a value indicating whether the formatting process successed. |
Text | Gets the formatted text. |
UnformattedText | Gets the unformatted text. |
Name | Description |
---|---|
Create(RichText) | Creates a formatted result. |
Create(string, DisplayValueStyle, FormatColorEnum) | Creates a formatted result. |
Create(string, int, char, DisplayValueStyle, FormatColorEnum) | Creates a formatted result with repeat character. |
GetDynamicSpacePositions() | Gets the positions of dynamic space characters. |
IsEmptyText() | Gets a boolean value indicating whether the display text is empty. |
RemoveNewLines() | Removes all newline strings. |
RemoveRepeatChar() | Removes the repeat character information. |