CompositorController.CommitNeeded 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 the framework needs to call Commit in order for changes to Composition objects to be reflected onscreen.
// Register
event_token CommitNeeded(TypedEventHandler<CompositorController, IInspectable const&> const& handler) const;
// Revoke with event_token
void CommitNeeded(event_token const* cookie) const;
// Revoke with event_revoker
CompositorController::CommitNeeded_revoker CommitNeeded(auto_revoke_t, TypedEventHandler<CompositorController, IInspectable const&> const& handler) const;
public event TypedEventHandler<CompositorController,object> CommitNeeded;
function onCommitNeeded(eventArgs) { /* Your code */ }
compositorController.addEventListener("commitneeded", onCommitNeeded);
compositorController.removeEventListener("commitneeded", onCommitNeeded);
- or -
compositorController.oncommitneeded = onCommitNeeded;
Public Custom Event CommitNeeded As TypedEventHandler(Of CompositorController, Object)