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.
And this is how it looks when the CustomCategory is applied