TextConstants.UndefinedColor Property

Definition

Gets the undefined color value.

public:
 static property Color UndefinedColor { Color get(); };
static Color UndefinedColor();
public static Color UndefinedColor { get; }
var color = TextConstants.undefinedColor;
Public Shared ReadOnly Property UndefinedColor As Color

Property Value

The undefined color.

Remarks

When retrieving a character-format color property, this value indicates that a range has at least two text runs with different values of that character-format color property. When setting a character-format color property, this value indicates that the property is undefined; that is, it will not be applied if the ITextCharacterFormat is applied to a range. This value is used with properties such as ITextCharacterFormat.BackgroundColor.

Applies to