DisplayInformation.DisplayContentsInvalidated 이벤트

정의

디스플레이에 다시 그리기가 필요할 때 발생합니다.

// Register
static event_token DisplayContentsInvalidated(TypedEventHandler<DisplayInformation, IInspectable const&> const& handler) const;

// Revoke with event_token
static void DisplayContentsInvalidated(event_token const* cookie) const;

// Revoke with event_revoker
static DisplayInformation::DisplayContentsInvalidated_revoker DisplayContentsInvalidated(auto_revoke_t, TypedEventHandler<DisplayInformation, IInspectable const&> const& handler) const;
public static event TypedEventHandler<DisplayInformation,object> DisplayContentsInvalidated;
function onDisplayContentsInvalidated(eventArgs) { /* Your code */ }
Windows.Graphics.Display.DisplayInformation.addEventListener("displaycontentsinvalidated", onDisplayContentsInvalidated);
Windows.Graphics.Display.DisplayInformation.removeEventListener("displaycontentsinvalidated", onDisplayContentsInvalidated);
- or -
Windows.Graphics.Display.DisplayInformation.ondisplaycontentsinvalidated = onDisplayContentsInvalidated;
Public Shared Custom Event DisplayContentsInvalidated As TypedEventHandler(Of DisplayInformation, Object) 

이벤트 유형

설명

이 이벤트는 정적입니다.

이 이벤트는 정적이므로 DisplayInformation.GetForCurrentView 메서드 호출에서 가져오는 현재 실제 표시 정보가 아니라 DisplayInformation 개체에서 직접 액세스하는 것이 좋습니다.

적용 대상