ToolStripRenderer.CreateDisabledImage Method (Image)

 

Creates a gray-scale copy of a given image.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public static Image CreateDisabledImage(
	Image normalImage
)

Parameters

normalImage
Type: System.Drawing.Image

The image to be copied.

Return Value

Type: System.Drawing.Image

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

.NET Framework
Available since 2.0
Return to top
Show: