Skip to main content
PrintTaskConfiguration.SaveRequested | saverequested event

Raised by the print window for your app to notify the device app that the print ticket must be updated.

Syntax


function onSaveRequested(eventArgs) { /* Your code */ }
 
// addEventListener syntax
printTaskConfiguration.addEventListener("saverequested", onSaveRequested);
printTaskConfiguration.removeEventListener("saverequested", onSaveRequested);
 
- or -

printTaskConfiguration.onsaverequested = onSaveRequested;

public event TypedEventHandler<PrintTaskConfiguration, PrintTaskConfigurationSaveRequestedEventArgs> SaveRequested

Public Event SaveRequested As TypedEventHandler(Of PrintTaskConfiguration, PrintTaskConfigurationSaveRequestedEventArgs)

public:
event TypedEventHandler<PrintTaskConfiguration, PrintTaskConfigurationSaveRequestedEventArgs>^ SaveRequested {
   Windows::Foundation::EventRegistrationToken add(TypedEventHandler<PrintTaskConfiguration, PrintTaskConfigurationSaveRequestedEventArgs>^ value);
   void remove(Windows::Foundation::EventRegistrationToken token);
}

Event information

Delegate TypedEventHandler<PrintTaskConfiguration, PrintTaskConfigurationSaveRequestedEventArgs>

Requirements (Windows 10 device family)

Device family

Desktop, introduced version 10.0.10240.0

API contract

Windows.Devices.Printers.extensions.extensionsContract, introduced version 1.0

Namespace

Windows.Devices.Printers.Extensions
Windows::Devices::Printers::Extensions [C++]

Metadata

Windows.Devices.Printers.extensions.extensionsContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Devices.Printers.Extensions
Windows::Devices::Printers::Extensions [C++]

Metadata

Windows.winmd

See also

PrintTaskConfiguration