SettingsCommand(Object, String, UICommandInvokedHandler) SettingsCommand(Object, String, UICommandInvokedHandler) SettingsCommand(Object, String, UICommandInvokedHandler) SettingsCommand(Object, String, UICommandInvokedHandler) SettingsCommand(Object, String, UICommandInvokedHandler) Constructor

Definition

Creates a new settings command.

public : SettingsCommand(Platform::Object settingsCommandId, Platform::String label, UICommandInvokedHandler handler)
SettingsCommand(winrt::Windows::Foundation::IInspectable settingsCommandId, winrt::hstring label, UICommandInvokedHandler handler) const;
public SettingsCommand(Object settingsCommandId, String label, UICommandInvokedHandler handler)
Public Sub New(settingsCommandId As Object, label As String, handler As UICommandInvokedHandler)
var settingsCommand = new settingsCommand(settingsCommandId, label, handler);

Parameters

settingsCommandId
Object Object Object

The ID of the command.

label
String String String

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

handler
UICommandInvokedHandler UICommandInvokedHandler UICommandInvokedHandler

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