Share via


NotesWindowManagerPreview.ShowNoteRelativeTo Method

Definition

Overloads

ShowNoteRelativeTo(Int32, Int32)

Makes a note visible and places it adjacent to a specified "anchor" view.

ShowNoteRelativeTo(Int32, Int32, NotesWindowManagerPreviewShowNoteOptions)

Makes a note visible and places it adjacent to a specified "anchor" view.

ShowNoteRelativeTo(Int32, Int32)

Makes a note visible and places it adjacent to a specified "anchor" view.

public:
 virtual void ShowNoteRelativeTo(int noteViewId, int anchorNoteViewId) = ShowNoteRelativeTo;
void ShowNoteRelativeTo(int const& noteViewId, int const& anchorNoteViewId);
public void ShowNoteRelativeTo(int noteViewId, int anchorNoteViewId);
function showNoteRelativeTo(noteViewId, anchorNoteViewId)
Public Sub ShowNoteRelativeTo (noteViewId As Integer, anchorNoteViewId As Integer)

Parameters

noteViewId
Int32

int

The unique identifier of the note to be shown.

anchorNoteViewId
Int32

int

The Id of the "anchor" view. If this value is 0 (not assigned to any view), the note will appear at the center of the screen.

Applies to

ShowNoteRelativeTo(Int32, Int32, NotesWindowManagerPreviewShowNoteOptions)

Makes a note visible and places it adjacent to a specified "anchor" view.

public:
 virtual void ShowNoteRelativeTo(int noteViewId, int anchorNoteViewId, NotesWindowManagerPreviewShowNoteOptions ^ options) = ShowNoteRelativeTo;
/// [Windows.Foundation.Metadata.Overload("ShowNoteRelativeToWithOptions")]
void ShowNoteRelativeTo(int const& noteViewId, int const& anchorNoteViewId, NotesWindowManagerPreviewShowNoteOptions const& options);
[Windows.Foundation.Metadata.Overload("ShowNoteRelativeToWithOptions")]
public void ShowNoteRelativeTo(int noteViewId, int anchorNoteViewId, NotesWindowManagerPreviewShowNoteOptions options);
function showNoteRelativeTo(noteViewId, anchorNoteViewId, options)
Public Sub ShowNoteRelativeTo (noteViewId As Integer, anchorNoteViewId As Integer, options As NotesWindowManagerPreviewShowNoteOptions)

Parameters

noteViewId
Int32

int

The unique identifier of the note to be shown.

anchorNoteViewId
Int32

int

The Id of the "anchor" view. If this value is 0 (not assigned to any view), the note will appear at the center of the screen.

options
NotesWindowManagerPreviewShowNoteOptions

Options for showing the note specified by the noteViewId parameter. For example, show the note with focus.

Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.ApplicationModel.Preview.Notes.PreviewNotesContract (introduced in v2.0)

See also

Applies to