Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.4 KB

contactpanellaunchfullapprequestedeventargs.md

File metadata and controls

45 lines (32 loc) · 1.4 KB
-api-id -api-type
T:Windows.ApplicationModel.Contacts.ContactPanelLaunchFullAppRequestedEventArgs
winrt class

Windows.ApplicationModel.Contacts.ContactPanelLaunchFullAppRequestedEventArgs

-description

Provides event information for the LaunchFullAppRequested event.

-remarks

First, check to see the Handled property is false. Then, set the Handled property to true, and start your app. Depending on what sort of experience you want to provide your users, consider closing the Contact Panel because they’ll be interacting directly with the full version of your app.

-see-also

-examples

The following example illustrates the remarks in this topic.

async void OnLaunchFullAppRequested(ContactPanel ContactPanel,
                                    ContactPanelLaunchFullAppRequestedEventArgs e)
{
    if (!e.Handled)
    {
        e.Handled = true;
        if (await TryLaunchFullAppFromCurrentStateAsync())
        {
            // we've successfully started the full version of our app; close the hosted view.
            ContactPanel.ClosePanel();
        }
    }
}

-capabilities

contactsSystem