AppTaskInfo.HiddenByUser Property

Definition

Gets a value that indicates whether the user has hidden this task through the Windows Shell.

public:
 property bool HiddenByUser { bool get(); };
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
bool HiddenByUser();
[Windows.Foundation.Metadata.Experimental]
public bool HiddenByUser { [Windows.Foundation.Metadata.Experimental] get; }
var boolean = appTaskInfo.hiddenByUser;
Public ReadOnly Property HiddenByUser As Boolean

Property Value

Boolean

bool

true if the user has hidden this task; otherwise, false.

Attributes

Remarks

Important

App task support will start gradually rolling out to Windows 11 starting May, 2026. The experiences enabled by Windows.UI.Shell.Tasks APIs require that the corresponding app task feature be present in the version of Windows where the app runs. Otherwise, these APIs will not have any effect.

When a user hides a task from the taskbar it has no impact on the task running in the app; its representation is simply removed from the taskbar. Hidden tasks are still returned by FindAll.

Applies to