CompositionGraphicsDevice.RenderingDeviceReplaced イベント

定義

レンダリング デバイスが置き換えられたときにトリガーされるイベント。

// Register
event_token RenderingDeviceReplaced(TypedEventHandler<CompositionGraphicsDevice, RenderingDeviceReplacedEventArgs const&> const& handler) const;

// Revoke with event_token
void RenderingDeviceReplaced(event_token const* cookie) const;

// Revoke with event_revoker
CompositionGraphicsDevice::RenderingDeviceReplaced_revoker RenderingDeviceReplaced(auto_revoke_t, TypedEventHandler<CompositionGraphicsDevice, RenderingDeviceReplacedEventArgs const&> const& handler) const;
public event TypedEventHandler<CompositionGraphicsDevice,RenderingDeviceReplacedEventArgs> RenderingDeviceReplaced;
function onRenderingDeviceReplaced(eventArgs) { /* Your code */ }
compositionGraphicsDevice.addEventListener("renderingdevicereplaced", onRenderingDeviceReplaced);
compositionGraphicsDevice.removeEventListener("renderingdevicereplaced", onRenderingDeviceReplaced);
- or -
compositionGraphicsDevice.onrenderingdevicereplaced = onRenderingDeviceReplaced;
Public Custom Event RenderingDeviceReplaced As TypedEventHandler(Of CompositionGraphicsDevice, RenderingDeviceReplacedEventArgs) 

イベントの種類

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10586.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v2.0 で導入)

適用対象