Share via


AppInstallOptions.PinToTaskbarAfterInstall Property

Definition

Gets or sets a value that indicates whether the product being installed should be pinned to the taskbar after installation is complete.

public:
 property bool PinToTaskbarAfterInstall { bool get(); void set(bool value); };
bool PinToTaskbarAfterInstall();

void PinToTaskbarAfterInstall(bool value);
public bool PinToTaskbarAfterInstall { get; set; }
var boolean = appInstallOptions.pinToTaskbarAfterInstall;
appInstallOptions.pinToTaskbarAfterInstall = boolean;
Public Property PinToTaskbarAfterInstall As Boolean

Property Value

Boolean

bool

True to pin the app to the taskbar; otherwise, false.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to