Udostępnij za pośrednictwem


ActivationViewSwitcher.ShowAsStandaloneAsync Method

Definition

Overloads

ShowAsStandaloneAsync(Int32)

Shows the view in a new standalone window.

ShowAsStandaloneAsync(Int32, ViewSizePreference)

Shows the view in a new standalone window and sets the size preference for the view.

ShowAsStandaloneAsync(Int32)

Shows the view in a new standalone window.

public:
 virtual IAsyncAction ^ ShowAsStandaloneAsync(int viewId) = ShowAsStandaloneAsync;
/// [Windows.Foundation.Metadata.Overload("ShowAsStandaloneAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ShowAsStandaloneAsync(int const& viewId);
[Windows.Foundation.Metadata.Overload("ShowAsStandaloneAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ShowAsStandaloneAsync(int viewId);
function showAsStandaloneAsync(viewId)
Public Function ShowAsStandaloneAsync (viewId As Integer) As IAsyncAction

Parameters

viewId
Int32

int

The identifier for the view.

Returns

The asynchronous results of the operation. Use this to determine when the async call is complete.

Attributes

See also

Applies to

ShowAsStandaloneAsync(Int32, ViewSizePreference)

Shows the view in a new standalone window and sets the size preference for the view.

public:
 virtual IAsyncAction ^ ShowAsStandaloneAsync(int viewId, ViewSizePreference sizePreference) = ShowAsStandaloneAsync;
/// [Windows.Foundation.Metadata.Overload("ShowAsStandaloneWithSizePreferenceAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ShowAsStandaloneAsync(int const& viewId, ViewSizePreference const& sizePreference);
[Windows.Foundation.Metadata.Overload("ShowAsStandaloneWithSizePreferenceAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ShowAsStandaloneAsync(int viewId, ViewSizePreference sizePreference);
function showAsStandaloneAsync(viewId, sizePreference)
Public Function ShowAsStandaloneAsync (viewId As Integer, sizePreference As ViewSizePreference) As IAsyncAction

Parameters

viewId
Int32

int

The identifier for the view.

sizePreference
ViewSizePreference

The preferred size of the view.

Returns

The asynchronous results of the operation. Use this to determine when the async call is complete.

Attributes

See also

Applies to