ImageList.TransparentColor Property

Definition

Gets or sets the color to treat as transparent.

public:
 property System::Drawing::Color TransparentColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
public System.Drawing.Color TransparentColor { get; set; }
member this.TransparentColor : System.Drawing.Color with get, set
Public Property TransparentColor As Color

Property Value

One of the Color values. The default is Transparent.

Remarks

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

Applies to

See also