Dela via


StartScreenManager Class

Definition

Represents a Start screen manager object.

public ref class StartScreenManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
class StartScreenManager final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class StartScreenManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public sealed class StartScreenManager
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class StartScreenManager
Public NotInheritable Class StartScreenManager
Inheritance
Object Platform::Object IInspectable StartScreenManager
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

Version history

Windows version SDK version Value added
1809 17763 ContainsSecondaryTileAsync
1809 17763 TryRemoveSecondaryTileAsync

Properties

User

Gets the user associated with the current Start screen.

Methods

ContainsAppListEntryAsync(AppListEntry)

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

ContainsSecondaryTileAsync(String)

Checks if the specified secondary tile is pinned to Start.

GetDefault()

Gets the current Start screen manager.

GetForUser(User)

Gets the Start screen manager for a specific user.

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.

SupportsAppListEntry(AppListEntry)

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

TryRemoveSecondaryTileAsync(String)

Tries to remove the specified secondary tile from Start.

Applies to