AccountsSettingsPane AccountsSettingsPane AccountsSettingsPane AccountsSettingsPane AccountsSettingsPane Class

Definition

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.

public : sealed class AccountsSettingsPane : IAccountsSettingsPane
struct winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane : IAccountsSettingsPane
public sealed class AccountsSettingsPane : IAccountsSettingsPane
Public NotInheritable Class AccountsSettingsPane Implements IAccountsSettingsPane
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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

Methods

GetForCurrentView() GetForCurrentView() GetForCurrentView() GetForCurrentView() GetForCurrentView()

Gets an AccountsSettingsPane object that is associated with the current app view (that is, with CoreWindow ).

Show() Show() Show() Show() Show()

Displays the account settings pane.

ShowAddAccountAsync() ShowAddAccountAsync() ShowAddAccountAsync() ShowAddAccountAsync() ShowAddAccountAsync()

Displays the add accounts screen.

ShowManageAccountsAsync() ShowManageAccountsAsync() ShowManageAccountsAsync() ShowManageAccountsAsync() ShowManageAccountsAsync()

Displays the manage accounts screen.

Events

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

See Also