Skip to main content
SettingsCommand.Invoked | invoked property

Gets or sets the handler for the event that is raised when the user selects the command.

Syntax


var invoked = settingsCommand.invoked;
settingsCommand.invoked = invoked;

public UICommandInvokedHandler Invoked { get; set; }

Public Property Invoked As UICommandInvokedHandler

public:
property UICommandInvokedHandler^ Invoked { 
   UICommandInvokedHandler^ get();
   void set (UICommandInvokedHandler^ value);
}

Property value

Type: UICommandInvokedHandler

The event handler associated with the command.

Requirements (Windows 10 device family)

Device family

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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