ImageList.TransparentColor Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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