CocoaMix86
CocoaMix86

Reputation: 105

JumpList not showing CustomCategory

If I try to specify a CustomCategory when adding JumpTasks to a JumpList, the items won't show up in the list. I am using Winforms.

current code:

private void JumpListUpdate()
{
   JumpList jml = new JumpList();
   jml.ShowRecentCategory = true;
   jml.ShowFrequentCategory = true;

   foreach (string file in Properties.Settings.Default.Recentfiles) {
      JumpTask jmp = new JumpTask();
      jmp.Title = file;
      jmp.CustomCategory = "Levels";
      jml.JumpItems.Add(jmp);
   }
   jml.Apply();
}

If I remove the jmp.CustomCategory = "Levels"; the jump list shows up fine with the file paths, but they're in the "Tasks" category because that's default.
enter image description here

And this is how it looks when the CustomCategory is applied
enter image description here

Upvotes: 1

Views: 95

Answers (0)

Related Questions