Partager via


System.Gadget.Settings.ClosingEvent object

[The Windows Gadget Platform/Sidebar is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]

The event argument that defines the properties for the closing functionality of the gadget Settings dialog.

Members

The System.Gadget.Settings.ClosingEvent object has these types of members:

Properties

The System.Gadget.Settings.ClosingEvent object has these properties.

Property Access type Description
Action
Read-only
Contains a value from the enumeration of closing actions for the Settings dialog.
cancel
Read/write
Gets or sets whether to cancel the onSettingsClosing event.
cancellable
Read-only
Gets whether the onSettingsClosing event can be canceled.
closeAction
Read-only
Gets the Settings dialog close request.

Remarks

The functions declared as handlers for the Settings events, onSettingsClosed and onSettingsClosing, take an event argument of type System.Gadget.Settings.ClosingEvent.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
End of client support
Windows 8
End of server support
Windows Server 2012
IDL
Sidebar.idl
DLL
Sidebar.Exe (version 1.00 or later)