Share via


NotesWindowManagerPreview.HideNote(Int32) Method

Definition

Sets a note's view to invisible and moves the focus to the next visible note view (window) or to the Windows Ink Workspace (see Remarks). The views are selected in a cyclic, system-determined order.

Note

Even though the note disappears from the screen, its CoreWindow object remains until the NoteVisibilityChanged event is raised and the handling method closes the note's window by calling the Close method.

public:
 virtual void HideNote(int noteViewId) = HideNote;
void HideNote(int const& noteViewId);
public void HideNote(int noteViewId);
function hideNote(noteViewId)
Public Sub HideNote (noteViewId As Integer)

Parameters

noteViewId
Int32

int

The unique identifier of the note to be hidden.

Remarks

When the notes app is loaded from the Windows Ink Workspace, this method will switch focus to the Windows Ink Workspace if it is next in the order.

Applies to