JumpList.ShowFrequentCategory Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應