Share via


PictureBox.ErrorImage 屬性

定義

取得或設定影像,當影像載入處理期間發生錯誤,或是取消影像載入時,就會顯示這個影像。

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

屬性值

Image

當影像載入處理期間發生錯誤,或取消影像載入時,所要顯示的 Image

備註

ErrorImage如果未指定,則會顯示預設的錯誤影像。

適用於