ImageList.TransparentColor 屬性

定義

取得或設定視為透明的色彩。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

屬性值

其中一個 Color 值。One of the Color values. 預設為 TransparentThe default is Transparent.

備註

繪製影像時, 不會呈現透明色彩。The transparent color is not rendered when the image is drawn.

適用於

另請參閱