Dela via


UISettings.GetColorValue(UIColorType) Method

Definition

Returns the color value of the specified color type.

public:
 virtual Color GetColorValue(UIColorType desiredColor) = GetColorValue;
Color GetColorValue(UIColorType const& desiredColor);
public Color GetColorValue(UIColorType desiredColor);
function getColorValue(desiredColor)
Public Function GetColorValue (desiredColor As UIColorType) As Color

Parameters

desiredColor
UIColorType

An enumeration value that specifies the type of color to get a value for.

Returns

The color value of the specified color type.

Remarks

The UIColorType.Complement value is not supported and will cause an exception if used as the desiredColor parameter.

Applies to