Windows Dev Center

SettingsPaneCommandsRequest class

[SettingsPaneCommandsRequest may be altered or unavailable for releases after Windows 10. Instead of using a SettingsPane, integrate settings options into the app experience. For more info, see Guidelines for app settings.]

Contains properties that are only available during the CommandsRequested event.

Syntax


var settingsPaneCommandsRequest = Windows.UI.ApplicationSettings.SettingsPaneCommandsRequest.request;

Members

The SettingsPaneCommandsRequest class has these types of members:

Methods

The SettingsPaneCommandsRequest class inherits methods from the Object class (C#/VB/C++).

Properties

The SettingsPaneCommandsRequest class has these properties.

PropertyAccess typeDescription

ApplicationCommands

Read-onlyA vector that is available during the CommandsRequested event. Append SettingsCommand objects to it to make them available to the SettingsPaneUI.

 

Remarks

Note  : This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).
 

Requirements (Windows 10 device family)

Device family

Desktop

API contract

Windows.UI.ApplicationSettings.ApplicationsSettingsContract, introduced version 1.0

Namespace

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

Metadata

Windows.UI.ApplicationSettings.ApplicationsSettingsContract.winmd

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

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

End of client support

Windows 10

End of phone support

Windows 10 Mobile

End of server support

Windows Server 2016 Technical Preview

Namespace

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

Metadata

Windows.winmd

Attributes

[Deprecated()]
[MarshalingBehavior(None)]
[Muse()]
[Version(0x06020000)]

See also

Object

 

 

Show:
© 2015 Microsoft