StartScreenManager StartScreenManager StartScreenManager StartScreenManager Class

Definition

Represents a Start screen manager object.

public : sealed class StartScreenManager : IStartScreenManagerpublic sealed class StartScreenManager : IStartScreenManagerPublic NotInheritable Class StartScreenManager Implements IStartScreenManager// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Properties

User User User User

Gets the user associated with the current Start screen.

public : User User { get; }public User User { get; }Public ReadOnly Property User As User// You can use this property in JavaScript.
Value
User User User User

Methods

ContainsAppListEntryAsync(AppListEntry) ContainsAppListEntryAsync(AppListEntry) ContainsAppListEntryAsync(AppListEntry) ContainsAppListEntryAsync(AppListEntry)

Checks if the app is currently pinned to the Start screen.

public : IAsyncOperation<PlatForm::Boolean> ContainsAppListEntryAsync(AppListEntry appListEntry)public IAsyncOperation<bool> ContainsAppListEntryAsync(AppListEntry appListEntry)Public Function ContainsAppListEntryAsync(appListEntry As AppListEntry) As IAsyncOperation( Of bool )// You can use this method in JavaScript.
Parameters
Returns

GetDefault() GetDefault() GetDefault() GetDefault()

Gets the current Start screen manager.

public : static StartScreenManager GetDefault()public static StartScreenManager GetDefault()Public Static Function GetDefault() As StartScreenManager// You can use this method in JavaScript.
Returns

GetForUser(User) GetForUser(User) GetForUser(User) GetForUser(User)

Gets the Start screen manager for a specific user.

public : static StartScreenManager GetForUser(User user)public static StartScreenManager GetForUser(User user)Public Static Function GetForUser(user As User) As StartScreenManager// You can use this method in JavaScript.
Parameters
Returns

RequestAddAppListEntryAsync(AppListEntry) RequestAddAppListEntryAsync(AppListEntry) RequestAddAppListEntryAsync(AppListEntry) RequestAddAppListEntryAsync(AppListEntry)

Requests to pin the app to the current Start screen. Depending on the device family, this must be called on the UI thread, and will display a dialog asking the user to confirm they would like to pin the app.

public : IAsyncOperation<PlatForm::Boolean> RequestAddAppListEntryAsync(AppListEntry appListEntry)public IAsyncOperation<bool> RequestAddAppListEntryAsync(AppListEntry appListEntry)Public Function RequestAddAppListEntryAsync(appListEntry As AppListEntry) As IAsyncOperation( Of bool )// You can use this method in JavaScript.
Parameters
Returns

SupportsAppListEntry(AppListEntry) SupportsAppListEntry(AppListEntry) SupportsAppListEntry(AppListEntry) SupportsAppListEntry(AppListEntry)

Checks if the app can be pinned to the current Start screen.

public : PlatForm::Boolean SupportsAppListEntry(AppListEntry appListEntry)public bool SupportsAppListEntry(AppListEntry appListEntry)Public Function SupportsAppListEntry(appListEntry As AppListEntry) As bool// You can use this method in JavaScript.
Parameters
Returns
PlatForm::Boolean bool bool bool