Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 2.07 KB

sharetargetactivatedeventargs.md

File metadata and controls

38 lines (24 loc) · 2.07 KB
-api-id -api-type
T:Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs
winrt class

Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs

-description

Provides information for an application that is a target for share operations.

JavaScript This type appears as WebUIShareTargetActivatedEventArgs.

-remarks

This object is accessed when you implement an event handler to respond to Activated events when ActivationKind is ShareTarget.

UWP app using C++, C#, or Visual Basic typically implement activation points by overriding methods of the Application object. The default template app.xaml code-behind files always include an override for OnLaunched, but defining overrides for other activation points such as OnShareTargetActivated is up to your app code.

All Application overrides involved in an activation scenario should call Window.Activate in their implementations.

For example code, see Share target activation sample.

Version history

Windows version SDK version Value added
1607 14393 User

-examples

-see-also

Windows.UI.Core.CoreApplicationView.Activated, Share target activation sample