Settings​Pane​Commands​Request Settings​Pane​Commands​Request Settings​Pane​Commands​Request Class

Definition

Note

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.

public : sealed class SettingsPaneCommandsRequest : ISettingsPaneCommandsRequestpublic sealed class SettingsPaneCommandsRequest : ISettingsPaneCommandsRequestPublic NotInheritable Class SettingsPaneCommandsRequest Implements ISettingsPaneCommandsRequest
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0) Xbox One Extensions for the UWP (introduced v10.0.10586.0)
API contract
Windows.UI.ApplicationSettings.ApplicationsSettingsContract (introduced v1)

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).

Properties

ApplicationCommands ApplicationCommands ApplicationCommands

Note

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.

A vector that is available during the CommandsRequested event. Append SettingsCommand objects to it to make them available to the SettingsPane UI.

public : IVector<SettingsCommand> ApplicationCommands { get; }public IList<SettingsCommand> ApplicationCommands { get; }Public ReadOnly Property ApplicationCommands As IList<SettingsCommand>
Value
IVector<SettingsCommand> IList<SettingsCommand> IList<SettingsCommand>

The vector of SettingsCommand objects.

Attributes