SettingsPane.CommandsRequested | commandsrequested event

Applies to Windows only

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


public:
event TypedEventHandler<SettingsPane, SettingsPaneCommandsRequestedEventArgs>^ CommandsRequested {
   Windows::Foundation::EventRegistrationToken add(TypedEventHandler<SettingsPane, SettingsPaneCommandsRequestedEventArgs>^ value);
   void remove(Windows::Foundation::EventRegistrationToken token);
}

Event information

Delegate TypedEventHandler<SettingsPane, SettingsPaneCommandsRequestedEventArgs>

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.UI.ApplicationSettings
Windows::UI::ApplicationSettings [C++]

Metadata

Windows.winmd

See also

SettingsPane

 

 

Show:
© 2014 Microsoft