JumpList.ShowRecentCategory Property

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

Namespace:  System.Windows.Shell
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: Not mapped to an xmlns.

public bool ShowRecentCategory { get; set; }
<object ShowRecentCategory="bool" .../>

Property Value

Type: System.Boolean
true if recently used items are displayed in the Jump List; otherwise, false. The default is false.

The contents of the Recent category are managed by the Windows shell. To display frequently used items in the Jump List, set the ShowRecentCategory 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.

You can call the AddToRecentCategory method to request that the Windows shell add items to the Recent items list. If your application is not registered to handle the file name type of the item, it will not appear in the Recent list and calls to AddToRecentCategory will fail silently.

The following example shows a JumpList configured to show the Recent 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

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft