ImageList.TransparentColor Property


Gets or sets the color to treat as transparent.

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

public Color TransparentColor { get; set; }

Property Value

Type: System.Drawing.Color

One of the Color values. The default is Transparent.

The transparent color is not rendered when the image is drawn.

.NET Framework
Available since 1.1
Return to top