NotesWindowManagerPreview.HideNote(Int32) Method
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.
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.