Table of Contents

Class ColorParseException

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

An exception thrown when something goes wrong when trying to parse a Color.

public sealed class ColorParseException : FormatException, ISerializable
Inheritance
ColorParseException
Implements
Inherited Members

Remarks

Contains additional information to help locate the problem.
Not intended to be thrown by consumers.

Properties

BadValue

Gets the substring of ColorString caused this exception, as a string

BadValueName

Gets the name of the color component corresponding to BadValue, if known.

ColorString

Gets the text that failed to parse, as a string

Reason

Gets the reason that BadValue failed to parse, if known.