Compartilhar via


CompositorController.CommitNeeded Evento

Definição

Ocorre quando a estrutura precisa chamar Commit para que as alterações nos objetos Composition sejam refletidas na tela.

// 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) 

Tipo de evento

Aplica-se a