CompositionCapabilities.Changed 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.
Event triggered when the supported composition capabilities changes.
// Register
event_token Changed(TypedEventHandler<CompositionCapabilities, IInspectable const&> const& handler) const;
// Revoke with event_token
void Changed(event_token const* cookie) const;
// Revoke with event_revoker
CompositionCapabilities::Changed_revoker Changed(auto_revoke_t, TypedEventHandler<CompositionCapabilities, IInspectable const&> const& handler) const;
public event TypedEventHandler<CompositionCapabilities,object> Changed;
function onChanged(eventArgs) { /* Your code */ }
compositionCapabilities.addEventListener("changed", onChanged);
compositionCapabilities.removeEventListener("changed", onChanged);
- or -
compositionCapabilities.onchanged = onChanged;
Public Custom Event Changed As TypedEventHandler(Of CompositionCapabilities, Object)
Event Type
TypedEventHandler<CompositionCapabilities,IInspectable>
Remarks
This event may be triggered in a variety of scenarios such as when dragging an application from a monitor attached to a GPU of capabilities 9.1 to one of higher level, or when initiating a device driver update.