ToolStripRenderer.CreateDisabledImage(Image) Method

Definition

Creates a gray-scale copy of a given image.

public:
 static System::Drawing::Image ^ CreateDisabledImage(System::Drawing::Image ^ normalImage);
public static System.Drawing.Image CreateDisabledImage (System.Drawing.Image normalImage);
static member CreateDisabledImage : System.Drawing.Image -> System.Drawing.Image
Public Shared Function CreateDisabledImage (normalImage As Image) As Image

Parameters

normalImage
Image

The image to be copied.

Returns

An Image that is a copy of the given image, but with a gray-scale color matrix.

Applies to