Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SettingsCommand.SettingsCommand constructor

Applies to Windows only

Creates a new settings command.

Syntax


var settingsCommand = new Windows.UI.ApplicationSettings.SettingsCommand(settingsCommandId, label, handler);

Parameters

settingsCommandId

Type: Object [JavaScript] | System.Object [.NET] | Platform::Object [C++]

The ID of the command.

label

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The label for the command, which is displayed in the settings pane.

handler

Type: UICommandInvokedHandler

The event handler that is called when the user selects this command in the settings pane.

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

SettingsCommand

 

 

Show:
© 2015 Microsoft