Jaa


PlaceInfo.Show Method

Definition

Overloads

Show(Rect)

Shows in a pop-up window, the map location and related information that is described in the PlaceInfo.

Show(Rect, Placement)

Shows in a light-dismissible window, the map location and related information that is described in the PlaceInfo.

Show(Rect)

Shows in a pop-up window, the map location and related information that is described in the PlaceInfo.

public:
 virtual void Show(Rect selection) = Show;
/// [Windows.Foundation.Metadata.Overload("Show")]
void Show(Rect const& selection);
[Windows.Foundation.Metadata.Overload("Show")]
public void Show(Rect selection);
function show(selection)
Public Sub Show (selection As Rect)

Parameters

selection
Rect

The Rect is the rectangular area of user selection (for example, pressing a button), around which the operating system displays the light-dismissible window, not within that rectangular area. For example, if an app uses a button to show the place, pass the Rect of the button so the light-dismissible window displays around the button, not overlapping it.

Attributes

Remarks

By default, this window appears below the selection rectangle. If you want to specify a different placement for this window, use the overloaded version of this method that accepts a Placement value as a parameter. This method closes any place card UIs that are already visible.

Applies to

Show(Rect, Placement)

Shows in a light-dismissible window, the map location and related information that is described in the PlaceInfo.

public:
 virtual void Show(Rect selection, Placement preferredPlacement) = Show;
/// [Windows.Foundation.Metadata.Overload("ShowWithPreferredPlacement")]
void Show(Rect const& selection, Placement const& preferredPlacement);
[Windows.Foundation.Metadata.Overload("ShowWithPreferredPlacement")]
public void Show(Rect selection, Placement preferredPlacement);
function show(selection, preferredPlacement)
Public Sub Show (selection As Rect, preferredPlacement As Placement)

Parameters

selection
Rect

The Rect is the rectangular area of user selection (for example, pressing a button), around which the operating system displays the light-dismissible window, not within that rectangular area. For example, if an app uses a button to show the place, pass the Rect of the button so the light-dismissible window displays around the button, not overlapping it.

preferredPlacement
Placement

The preferred placement of the light-dismissible window relative to the rectangle.

Attributes

Remarks

This method closes any place card UIs that are already visible.

Applies to