Redigera

Dela via


JumpList.ShowFrequentCategory Property

Definition

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

public:
 property bool ShowFrequentCategory { bool get(); void set(bool value); };
public bool ShowFrequentCategory { get; set; }
public bool ShowFrequentCategory { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
member this.ShowFrequentCategory : bool with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.ShowFrequentCategory : bool with get, set
Public Property ShowFrequentCategory As Boolean

Property Value

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

Attributes

Examples

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">

Remarks

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.

Applies to