Image.ImageFailed Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when there is a failure in the image.
public:
event EventHandler<System::Windows::ExceptionRoutedEventArgs ^> ^ ImageFailed;
public event EventHandler<System.Windows.ExceptionRoutedEventArgs> ImageFailed;
member this.ImageFailed : EventHandler<System.Windows.ExceptionRoutedEventArgs>
Public Custom Event ImageFailed As EventHandler(Of ExceptionRoutedEventArgs)
Event Type
Remarks
If the Source is a BitmapImage and it fails to load, due to a corrupt header, both the DecodeFailed and ImageFailed events occur.
XAML Text Usage
<object ImageFailed="EventHandler" .../>
Routed Event Information
Identifier field | ImageFailedEvent |
Routing strategy | Bubbling |
Delegate | EventHandler<TEventArgs>, constrained by ExceptionRoutedEventArgs |
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา