AccountsSettingsPane class

Applies to Windows only

Provides methods to show the accounts pane and also to enable the app to register callbacks when the accounts flyout is about to be displayed.

Syntax


var accountsSettingsPane = Windows.UI.ApplicationSettings.AccountsSettingsPane.getForCurrentView();

Attributes

[MarshalingBehavior(None)]
[Muse()]
[Version(0x06030000)]

Members

The AccountsSettingsPane class has these types of members:

Events

The AccountsSettingsPane class has these events.

EventDescription
AccountCommandsRequested Occurs when the user opens the accounts pane. Handling this event lets the app initialize the accounts commands and pause its UI until the user closes the pane.

 

Methods

The AccountsSettingsPane class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetForCurrentView Gets an AccountsSettingsPane object that is associated with the current app view (that is, with CoreWindow).
Show Displays the account settings pane.

 

Remarks

The app provides the callbacks with account metadata for all of the web account providers, web accounts, global account commands, and credential locker credentials that the app displays. Examples of account providers are Facebook, LinkedIn, and Twitter.

The account and credential command classes in the Windows.UI.ApplicationSettings namespace correspond with data objects in the Windows.UI.ApplicationSettings namespace:

Data Object (Windows.Security.Credentials)UI object (Windows.UI.ApplicationSettings)
WebAccount WebAccountCommand
WebAccountProvider WebAccountProviderCommand
PasswordCredential CredentialCommand

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

PasswordCredential
WebAccountProvider
WebAccount
Object

 

 

Show:
© 2014 Microsoft