System.Windows.Forms.ControlPaint.LightLight Method

Creates a new light color object for the control from the specified color.

Syntax

public static System.Drawing.Color LightLight (System.Drawing.Color baseColor)

Parameters

baseColor
The System.Drawing.Color to be lightened.

Returns

A System.Drawing.Color that represents the light color on the control.

Remarks

If the specified System.Drawing.Color is one of the System.Drawing.SystemColors, the color is converted to the System.Drawing.SystemColors.ControlLightLight color; otherwise, the color's luminosity value is increased.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0