Dela via


Windows.UI.WebUI Namespace

Provides APIs that are specific to apps written in HTML, JavaScript, and CSS.

Classes

ActivatedDeferral

Manages delayed activation for an app.

ActivatedOperation

Manages an app activation operation.

BackgroundActivatedEventArgs

Makes all data available from the IBackgroundTask.Run method available to your event handler when your app is activated by a background trigger.

EnteredBackgroundEventArgs

Provides data when an app begins running in the background.

HtmlPrintDocumentSource

Manages the document source for app printing.

LeavingBackgroundEventArgs

Provides data when an app is about to stop running in the background.

NewWebUIViewCreatedEventArgs

Provides info when a new WebUIView is created.

SuspendingDeferral

Manages delayed suspension for an app. GetDeferral

SuspendingEventArgs

Provides data for an app suspension event.

SuspendingOperation

Manages an app suspension operation.

WebUIApplication

Enables an app to receive notifications related to the lifetime of the app.

WebUIAppointmentsProviderAddAppointmentActivatedEventArgs

Provides data when an app is activated to add an appointment to the user’s calendar.

WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs

Provides data when an app is activated to remove an appointment from the user’s calendar.

WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs

Provides data when an app is activated to replace an appointment in the user’s calendar.

WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs

Provides data when an app is activated to show the details of an appointment.

WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs

Provides data when an app is activated to show a specified time frame on the user’s calendar.

WebUIBackgroundTaskInstance

Represents an instance of a background task that has been triggered to run.

A background task must explicitly call the Web Workers close method to terminate itself after the task has completed.

WebUIBackgroundTaskInstanceRuntimeClass

Provides access to an instance of a background task.

Note

A background task must explicitly call the Web Workers close method to terminate itself after the task has completed.

WebUIBarcodeScannerPreviewActivatedEventArgs

Provides event info when a barcode scanner preview activates the app.

WebUICachedFileUpdaterActivatedEventArgs

Provides information about the activated event that fires when the user saves or opens a file that needs updates from the app.

C#/C++/VB This type appears as CachedFileUpdaterActivatedEventArgs.

WebUICameraSettingsActivatedEventArgs

Enables a camera settings app to handle the activation parameters for the app.

WebUICommandLineActivatedEventArgs

Provides information, such as the command-line arguments, when an app is activated from the command line.

WebUIContactCallActivatedEventArgs

Provides data when an app is activated to call a contact.

WebUIContactMapActivatedEventArgs

Provides data when an app is activated to map a contact.

WebUIContactMessageActivatedEventArgs

Provides data when an app is activated to message a contact.

WebUIContactPanelActivatedEventArgs

Provides data when an app is activated because it uses the Contact Panel.

WebUIContactPickerActivatedEventArgs

Provides data when an app is activated because it uses the Contact Picker.

WebUIContactPostActivatedEventArgs

Provides data when an app is activated to post a contact.

WebUIContactVideoCallActivatedEventArgs

Provides data when an app is activated to video call a contact.

WebUIDeviceActivatedEventArgs

Provides information for a device that invokes AutoPlay.

WebUIDevicePairingActivatedEventArgs

Provides information for a device that invokes pairing.

WebUIDialReceiverActivatedEventArgs

Provides data when an app is activated from another app by using the DIAL protocol.

WebUIFileActivatedEventArgs

Provides data when an app is activated because it is the app associated with a file.

WebUIFileOpenPickerActivatedEventArgs

Provides information about an activated event that fires when the user tries to pick files or folders that are provided by the app.

C#/C++/VB This type appears as FileOpenPickerActivatedEventArgs.

WebUIFileOpenPickerContinuationEventArgs

Provides information about an activated event that fires after the app was suspended for a file open picker operation.

WebUIFileSavePickerActivatedEventArgs

Provides information about an activated event that fires when the user saves a file through the file picker and selects the app as the location.

C#/C++/VB This type appears as FileSavePickerActivatedEventArgs.

WebUIFileSavePickerContinuationEventArgs

Provides information about an activated event that fires after the app was suspended for a file save picker operation.

WebUIFolderPickerContinuationEventArgs

Provides information about an activated event that fires after the app was suspended for a folder picker operation.

WebUILaunchActivatedEventArgs

Provides event information when an app is launched.

WebUILockScreenActivatedEventArgs

Represents arguments used when the lock screen is activated.

WebUILockScreenCallActivatedEventArgs

Provides event information when communication to and from the lock screen is required.

WebUILockScreenComponentActivatedEventArgs

Provides data when an app is activated as part of a lock screen component.

WebUINavigatedDeferral

Manages delayed navigation for an app.

WebUINavigatedEventArgs

Provides data for an app navigation event.

WebUINavigatedOperation

Manages an app navigation operation.

WebUIPhoneCallActivatedEventArgs

Represents the launch arguments for the application. The app's OnActivated method will be invoked with the WebUIPhoneCallActivatedEventArgs class being the activatedEventArg payload.

WebUIPrint3DWorkflowActivatedEventArgs

Represents the arguments related to activating a 3D print workflow.

WebUIPrintTaskSettingsActivatedEventArgs

Provided in response to the event that is raised when print task settings are activated.

WebUIPrintWorkflowForegroundTaskActivatedEventArgs

Provides data when an app is launched as part of a print workflow.

WebUIProtocolActivatedEventArgs

Provides data when an app is activated because it is the app associated with a URI scheme name.

WebUIProtocolForResultsActivatedEventArgs

Describes the activation arguments when an app is launched via LaunchUriForResultsAsync.

WebUIRestrictedLaunchActivatedEventArgs

Provides event information when a restricted app is launched.

WebUISearchActivatedEventArgs

Provides information about the activated event that fires when the user searches the app from the Search charm and the app isn't the main app on screen.

C#/C++/VB This type appears as SearchActivatedEventArgs.

WebUIShareTargetActivatedEventArgs

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

WebUIStartupTaskActivatedEventArgs

Provides information when an app is activated at device startup or user login.

WebUIToastNotificationActivatedEventArgs

Provides information about an event that occurs when the app is activated because a user tapped on the body of a toast notification or performed an action inside a toast notification.

WebUIUserDataAccountProviderActivatedEventArgs

Provides data when an app is activated to manage user accounts.

WebUIView

Represents a view (window) of the app to the application background script.

WebUIVoiceCommandActivatedEventArgs

Provides information about an activated event raised when the app is activated from a voice command.

WebUIWalletActionActivatedEventArgs

Caution

The WebUI.WebUIWalletActionActivatedEventArgs class is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.

Provides information to an app that was launched as the result of a wallet action.

WebUIWebAccountProviderActivatedEventArgs

Represents the arguments involved in activated a web account provider.

WebUIWebAuthenticationBrokerContinuationEventArgs

Provides information to an app that was launched after being suspended for a web authentication broker operation.

Interfaces

IActivatedEventArgsDeferral

Manages delayed activation for an app.

IWebUIBackgroundTaskInstance

Provides access to an instance of a background task.

Note

Once the background task sets this property and has therefore completed its work, the task must explicitly call the Web Workers close method to terminate itself.

IWebUINavigatedEventArgs

Provides data for an app navigation event.

Enums

PrintContent

Specifies the content that HtmlPrintDocumentSource.content prints.

Delegates

ActivatedEventHandler

Represents a method that handles the app activation event.

BackgroundActivatedEventHandler

Provides info when a background task activates the app.

EnteredBackgroundEventHandler

Represents a method that handles the entered background event.

LeavingBackgroundEventHandler

Represents a method that handles the leaving background event.

NavigatedEventHandler

Represents a method that handles the app navigation event.

ResumingEventHandler

Represents a method that handles the app resumption event.

SuspendingEventHandler

Represents a method that handles the app suspension event.

See also