Share via


NotesWindowManagerPreview.NotePlacementChanged Event

Definition

Indicates that a note's placement (dimensions and location) has changed.

Note

When this event is raised, the application should call GetNotePlacement to update its record with the note's new placement.

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

Event Type

Applies to