| TextColor Class |
Namespace: Sdl.FileTypeSupport.Framework.Formatting
The TextColor type exposes the following members.
| Name | Description | |
|---|---|---|
| TextColor |
Constructs a text color using the default color (WindowText color from the current Windows settings).
| |
| TextColor(Color) |
Creates character formatting representing a specific color.
|
| Name | Description | |
|---|---|---|
| FormattingName |
The name of this type of formatting.
The default implementation returns the type name of the actual class,
but this can be overridden in derived classes.
(Inherited from AbstractFormattingItem.)The name may be used as an attribute name when storing this formatting in XML format, in which case the value of the attribute represents the StringValue property. | |
| LocalizedFormattingName |
A localized representation of this type of formatting
(Overrides AbstractFormattingItemLocalizedFormattingName.) | |
| LocalizedStringValue |
A localized representation of the value of this kind of formatting
(Overrides AbstractFormattingItemLocalizedStringValue.) | |
| Name |
The string used as name for this type of formatting.
| |
| StringValue |
Colors are serialized to strings either as named colors
(e.g. Aquamarine or ActiveWindowTitleText), or as 32-bit hex values
in the format used by the .NET ColorConverter.
(Overrides AbstractFormattingItemStringValue.) | |
| Value |
The color value of this formatting
|
| Name | Description | |
|---|---|---|
| AcceptVisitor |
Calls VisitTextColor(TextColor) on the visitor.
(Overrides AbstractFormattingItemAcceptVisitor(IFormattingVisitor).) | |
| Clone |
Creates a clone of this object.
(Overrides AbstractFormattingItemClone.) | |
| Equals |
Overridden to consider equivalent colors represented by different values equal
(Overrides AbstractFormattingItemEquals(Object).) | |
| GetHashCode |
Overridden to return the same hash code for the same effective color values
(Overrides AbstractFormattingItemGetHashCode.) | |
| ToString |
For debugging; returns "FormattingName = StringValue".
(Inherited from AbstractFormattingItem.) |