A highlighting color is a set of font properties and foreground and background color.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class HighlightingColor : ISerializable, IFreezable, ICloneable, IEquatable<HighlightingColor>
<SerializableAttribute> _ Public Class HighlightingColor _ Implements ISerializable, IFreezable, ICloneable, IEquatable(Of HighlightingColor)
[SerializableAttribute] public ref class HighlightingColor : ISerializable, IFreezable, ICloneable, IEquatable<HighlightingColor^>
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| HighlightingColor()()()() |
Creates a new HighlightingColor instance.
| |
| HighlightingColor(SerializationInfo, StreamingContext) |
Deserializes a HighlightingColor.
| |
| Background |
Gets/sets the background color applied by the highlighting.
| |
| Clone()()()() |
Clones this highlighting color.
If this color is frozen, the clone will be unfrozen.
| |
| Equals(Object) | (Overrides Object.Equals(Object).) | |
| Equals(HighlightingColor) | Indicates whether the current object is equal to another object of the same type. | |
| Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FontStyle |
Gets/sets the font style. Null if the highlighting color does not change the font style.
| |
| FontWeight |
Gets/sets the font weight. Null if the highlighting color does not change the font weight.
| |
| Foreground |
Gets/sets the foreground color applied by the highlighting.
| |
| Freeze()()()() |
Prevent further changes to this highlighting color.
| |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Overrides Object.GetHashCode()()()().) | |
| GetObjectData(SerializationInfo, StreamingContext) |
Serializes this HighlightingColor instance.
| |
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| IsFrozen |
Gets whether this HighlightingColor instance is frozen.
| |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MergeWith(HighlightingColor) |
Overwrites the properties in this HighlightingColor with those from the given color;
but maintains the current values where the properties of the given color return null.
| |
| Name |
Gets/Sets the name of the color.
| |
| ToCss()()()() |
Gets CSS code for the color.
| |
| ToString()()()() | (Overrides Object.ToString()()()().) |
| Object | |
| HighlightingColor | |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238