PrintSupportSettingsActivatedEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables a print support settings UI extension app to handle the activation parameters for the app.
public ref class PrintSupportSettingsActivatedEventArgs sealed : IActivatedEventArgsWithUser
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PrintSupportSettingsActivatedEventArgs final : IActivatedEventArgsWithUser
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PrintSupportSettingsActivatedEventArgs : IActivatedEventArgsWithUser
Public NotInheritable Class PrintSupportSettingsActivatedEventArgs
Implements IActivatedEventArgsWithUser
- Inheritance
- Attributes
- Implements
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v14.0)
|
Remarks
To create print support settings UI extension, your app must declare a uap4:Extension element with the category windows.printSupportSettingsUI in its package manifest. When the app is activated, the OnActivated
method receives a PrintSupportSettingsActivatedEventArgs object that provides access to information about the print support UI session.
For more information, see Print support app design guide.
Properties
Kind |
Gets a value that specifies the type of activation. |
OwnerWindowId |
Gets a WindowId that identifies the top-level window that triggered the activation. |
PreviousExecutionState |
Gets the execution state of the app before this activation. |
Session |
Gets info about the current session of the print support settings UI. |
SplashScreen |
Gets the splash screen object that provides information about the transition from the splash screen to the activated app. |
User |
Gets the user that the app was activated for. |
Methods
GetDeferral() |
Requests that the activation operation be delayed and gets a deferral object that will be invoked upon completion of the deferred action. |