ContactPanelLaunchFullAppRequestedEventArgs
ContactPanelLaunchFullAppRequestedEventArgs
ContactPanelLaunchFullAppRequestedEventArgs
ContactPanelLaunchFullAppRequestedEventArgs
Class
Definition
Provides event information for the LaunchFullAppRequested event.
public : sealed class ContactPanelLaunchFullAppRequestedEventArgs : IContactPanelLaunchFullAppRequestedEventArgspublic sealed class ContactPanelLaunchFullAppRequestedEventArgs : IContactPanelLaunchFullAppRequestedEventArgsPublic NotInheritable Class ContactPanelLaunchFullAppRequestedEventArgs Implements IContactPanelLaunchFullAppRequestedEventArgs// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
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();
}
}
}
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.
Properties
Handled Handled Handled Handled
Gets or sets a value that indicates the LaunchFullAppRequested event has been handled.
public : PlatForm::Boolean Handled { get; set; }public bool Handled { get; set; }Public ReadWrite Property Handled As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if the LaunchFullAppRequested event is handled; false if the LaunchFullAppRequested event is not yet handled.