Modifica

Condividi tramite


ControlPaint.LightLight(Color) Method

Definition

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

public:
 static System::Drawing::Color LightLight(System::Drawing::Color baseColor);
public static System.Drawing.Color LightLight (System.Drawing.Color baseColor);
static member LightLight : System.Drawing.Color -> System.Drawing.Color
Public Shared Function LightLight (baseColor As Color) As Color

Parameters

baseColor
Color

The Color to be lightened.

Returns

A Color that represents the light color on the control.

Remarks

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

Applies to