Image.ImageFailed 이벤트

정의

이미지에 오류가 있으면 발생합니다.

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) 

이벤트 유형

설명

SourceBitmapImage 고 헤더가 손상되어 로드에 실패하면 및 ImageFailed 이벤트가 모두 DecodeFailed 발생합니다.

XAML 텍스트 사용

<개체 ImageFailed="EventHandler" .../>

라우팅 이벤트 정보

식별자 필드 ImageFailedEvent
라우팅 전략 버블링
대리자 EventHandler<TEventArgs>, 에 의해 제한됨 ExceptionRoutedEventArgs

적용 대상

추가 정보