Compartir a través de


NotesWindowManagerPreview.NotePlacementChanged Evento

Definición

Indica que la ubicación de una nota (dimensiones y ubicación) ha cambiado.

Nota

Cuando se genera este evento, la aplicación debe llamar a GetNotePlacement para actualizar su registro con la nueva ubicación de la nota.

// Register
event_token NotePlacementChanged(TypedEventHandler<NotesWindowManagerPreview, NotePlacementChangedPreviewEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
NotesWindowManagerPreview::NotePlacementChanged_revoker NotePlacementChanged(auto_revoke_t, TypedEventHandler<NotesWindowManagerPreview, NotePlacementChangedPreviewEventArgs const&> const& handler) const;
public event TypedEventHandler<NotesWindowManagerPreview,NotePlacementChangedPreviewEventArgs> NotePlacementChanged;
function onNotePlacementChanged(eventArgs) { /* Your code */ }
notesWindowManagerPreview.addEventListener("noteplacementchanged", onNotePlacementChanged);
notesWindowManagerPreview.removeEventListener("noteplacementchanged", onNotePlacementChanged);
- or -
notesWindowManagerPreview.onnoteplacementchanged = onNotePlacementChanged;
Public Custom Event NotePlacementChanged As TypedEventHandler(Of NotesWindowManagerPreview, NotePlacementChangedPreviewEventArgs) 

Tipo de evento

Se aplica a