SettingsPaneCommandsRequest SettingsPaneCommandsRequest SettingsPaneCommandsRequest SettingsPaneCommandsRequest Class

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.

Syntax

Declaration

public sealed class SettingsPaneCommandsRequestpublic sealed class SettingsPaneCommandsRequestPublic NotInheritable Class SettingsPaneCommandsRequest

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 summary

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.

Properties

  • ApplicationCommands
    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 IVector<SettingsCommand> ApplicationCommands { get; }Public ReadOnly Property ApplicationCommands As IVector<SettingsCommand>

    Property Value

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)

Attributes

Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.DeprecatedAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MuseAttribute

Details

Assembly

Windows.UI.ApplicationSettings.dll