0 out of 3 rated this helpful - Rate this topic

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


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

Namespace

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

Metadata

Windows.winmd

See also

SettingsPane

 

 

Build date: 12/4/2012

© 2013 Microsoft. All rights reserved.