NotesWindowManagerPreview.NotePlacementChanged 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.
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)