Click or drag to resize
BackgroundColor Class
Formatting that represents the background color of a field
Inheritance Hierarchy

Namespace: Sdl.FileTypeSupport.Framework.Formatting
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2343.0)
Syntax
[SerializableAttribute]
public class BackgroundColor : AbstractFormattingItem

The BackgroundColor type exposes the following members.

Constructors
  NameDescription
Public methodBackgroundColor
Constructs a background color with the default color (Window color from current Windows settings).
Public methodBackgroundColor(Color)
Creates formatting that represents a specific background color.
Top
Methods
  NameDescription
Public methodAcceptVisitor (Overrides AbstractFormattingItemAcceptVisitor(IFormattingVisitor).)
Public methodClone
Clones this object
(Overrides AbstractFormattingItemClone.)
Public methodEquals
Overridden to consider equivalent colors represented by different values equal
(Overrides AbstractFormattingItemEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Overridden to return the same hash code for the same effective color values
(Overrides AbstractFormattingItemGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
For debugging; returns "FormattingName = StringValue".
(Inherited from AbstractFormattingItem.)
Top
Properties
  NameDescription
Public propertyFormattingName
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.

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.

(Inherited from AbstractFormattingItem.)
Public propertyLocalizedFormattingName
The localized name of this type of formatting
(Overrides AbstractFormattingItemLocalizedFormattingName.)
Public propertyLocalizedStringValue
Colors are serialized to localized strings either as named colors (e.g. Aquamarine or ActiveWindowTitleText), or as 32-bit hex values in the format determined by the .NET ColorConverter class.
(Overrides AbstractFormattingItemLocalizedStringValue.)
Public propertyStatic memberName
The string used as name for this type of formatting.
Public propertyStringValue
Colors are serialized to strings either as named colors (e.g. Aquamarine or ActiveWindowTitleText), or as 32-bit hex values in the format determined by the .NET ColorConverter class.
(Overrides AbstractFormattingItemStringValue.)
Public propertyValue
The color value of this formatting
Top
See Also
Community
Edit
Be the first to Edit the community content of this topic.
Comments