API:Vcl.JumpList.TJumpList.CustomCategories
Delphi
property CustomCategories;
C++
__property CustomCategories;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | published | Vcl.JumpList.pas Vcl.JumpList.hpp |
Vcl.JumpList | TJumpList |
説明
アプリケーションのジャンプ リスト上に表示させるカスタム カテゴリのリスト。
Vcl.JumpList.TJumpList.CustomCategories は Vcl.JumpList.TCustomJumpList.CustomCategories を継承しています。以下の内容はすべて Vcl.JumpList.TCustomJumpList.CustomCategories を参照しています。
アプリケーションのジャンプ リスト上に表示させるカスタム カテゴリのリスト。
最近開いたファイルのリスト、よく開くファイルのリストやタスクのリストの他に、アプリケーションは、カスタム項目からなるカスタム リストを定義することができます。CustomCategories プロパティを使用すると、これらのカスタム リストを定義することができます。
実行時にカテゴリを定義するには、AddCategory メソッドを使用します。
カテゴリは、少なくとも 1 つ項目がある場合に表示されます。 カスタム カテゴリに項目を追加するには、設計時には Items プロパティを、実行時には AddItemToCategory メソッドを使用します。
例外
CustomCategories プロパティの内容を変更すると、次の例外が発生する可能性があります:
Exception | Exception.Message | シナリオ |
---|---|---|
ジャンプリストの例外: エラー <code> が <Beginning List> で発生します。 |
| |
ジャンプリストの例外: エラー <code> が <Committing List> で発生します。 |
|
AutoRefresh が True
で、CustomCategories プロパティの内容を変更した場合、ジャンプ リスト コンポーネントは次のメンバーを使用し、それらが各々の例外を発生させる可能性があります:
関連項目
- Vcl.JumpList.TCustomJumpList.GetRecentList
- Vcl.JumpList.TCustomJumpList.GetFrequentList
- Vcl.JumpList.TCustomJumpList.TaskList