Esempio n. 1
0
 /// <summary>
 /// Creates a new custom category instance
 /// </summary>
 /// <param name="categoryName">Category name</param>
 /// <param name="maxItems">The maximum number of items the custom category should hold</param>
 public JumpListCustomCategory(string categoryName, int maxItems)
 {
     Name          = categoryName;
     JumpListItems = new JumpListItemCollection <IJumpListItem>();
     MaxItems      = maxItems;
 }
Esempio n. 2
0
        /// <summary>
        /// Creates a new custom category instance
        /// </summary>
        /// <param name="categoryName">Category name</param>
        public JumpListCustomCategory(string categoryName)
        {
            Name = categoryName;

            JumpListItems = new JumpListItemCollection <IJumpListItem>();
        }