SettingsPane.CommandsRequested | commandsrequested event
Occurs when the user opens the settings pane. Listening for this event lets the app initialize the setting commands and pause its UI until the user closes the pane.
During this event, append your SettingsCommand objects to the available ApplicationCommands vector to make them available to the SettingsPane UI.
Syntax
function onCommandsRequested(eventArgs) { /* Your code */ } // addEventListener syntax settingsPane.addEventListener("commandsrequested", onCommandsRequested); settingsPane.removeEventListener("commandsrequested", onCommandsRequested); - or - settingsPane.oncommandsrequested = onCommandsRequested;
Event information
| Delegate | TypedEventHandler(SettingsPane, SettingsPaneCommandsRequestedEventArgs) |
|---|
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012
