The RdlColor type exposes the following members.

Constructors

  Name Description
Public method RdlColor(Color)
Initializes a new instance of the RdlColor class with a literal color value.
Public method RdlColor(String)
Initializes a new instance of the RdlColor class with an expression or a literal color value.

Methods

  Name Description
Public method Equals
Compares the current length with another object. This method performs comparison by value.
(Overrides RdlProp..::..Equals(Object).)
Public method GetHashCode
Gets the hash code for the current object, based on the length value.
(Overrides RdlProp..::..GetHashCode()()()().)
Public method ToString
Converts the current object to a string.
(Overrides Object..::..ToString()()()().)
Public method Static member TryParse
Parses a string into properties of RdlColor type.

Operators

  Name Description
Public operator Static member Equality
Tests whether the two RdlColor objects are equal.
Public operator Static member Inequality
Tests whether the two RdlColor objects are not equal.

Fields

  Name Description
Protected field m_Expression
The expression.
(Inherited from RdlProp.)
Protected field m_IsExpression
A flag indicating that the value is an expression.
(Inherited from RdlProp.)

Properties

  Name Description
Public property Expression
Gets the expression associated with the current RdlProp. Note that this property throws an exception if the current object contains a constant (i.e. if IsExpression gets false).
(Inherited from RdlProp.)
Public property IsExpression
Gets a value indicating whether the current RdlProp is specified as an expression.
(Inherited from RdlProp.)
Public property Value
Gets the System.Drawing.Color value represented by the current object if it contains a literal. If the current object contains an expression, exception is thrown.

See Also