In the last step you created the jump list, but you still have to apply the jump list. In this step, you'll also learn how to clear jump lists.
Complete the following steps:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
C1TaskbarButton1.JumpList.Apply() |
To write code in C#
C# |
Copy Code
|
---|---|
c1TaskbarButton1.JumpList.Apply(); |
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
C1TaskbarButton1.JumpList.ClearTasksAndCustomCategories() |
To write code in C#
C# |
Copy Code
|
---|---|
c1TaskbarButton1.JumpList.ClearTasksAndCustomCategories(); |
In this step, you added code to the project that will allow you to apply or clear the jump list at the click of a button. In the next step, you'll run the project and see the result of your work.