JumpList.ShowFrequentCategory Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that indicates whether frequently used items are displayed in the Jump List.

Namespace:   System.Windows.Shell
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool ShowFrequentCategory {
	[SecurityCriticalAttribute]
	[UIPermissionAttribute(SecurityAction.Demand, Window = UIPermissionWindow.AllWindows)]
	get;
	[SecurityCriticalAttribute]
	[UIPermissionAttribute(SecurityAction.Demand, Window = UIPermissionWindow.AllWindows)]
	set;
}

Property Value

Type: System.Boolean

true if frequently used items are displayed in the Jump List; otherwise, false. The default is false.

The contents of the Frequent category are managed by the Windows shell. To display frequently used items in the Jump List, set the ShowFrequentCategory property to true.

The Recent and Frequent categories often contain many of the same jump items. As a result, applications typically display either the Recent or the Frequent category in the Jump List, but not both.

The following example shows a JumpList configured to show the Frequent category. This example is part of a larger example available in the JumpList class overview.

<JumpList ShowRecentCategory="True"
          ShowFrequentCategory="True"
          JumpItemsRejected="JumpList_JumpItemsRejected"
          JumpItemsRemovedByUser="JumpList_JumpItemsRemovedByUser">

.NET Framework
Available since 4.0
Return to top
Show: