TaskbarManager.IsPinningAllowed Property

Definition

Gets whether pinning to the taskbar is allowed.

public:
 property bool IsPinningAllowed { bool get(); };
bool IsPinningAllowed();
public bool IsPinningAllowed { get; }
var boolean = taskbarManager.isPinningAllowed;
Public ReadOnly Property IsPinningAllowed As Boolean

Property Value

Boolean

A boolean indicating whether pinning to the taskbar is allowed.

Remarks

Pinning to taskbar can be disabled through group policy, and is not available on some device families.

Applies to