This project is read-only.
1

Closed

Modifying of Items in DropDownActionItem doesn't show in UI

description

Modifying of items in DropDownActionItem doesn't show in UI after DropDownActionItem was added into DotSpatialApp.RibbonHeader.
 
code to test:
 
var keywords = new DropDownActionItem();
keywords.Items.AddRange(new[] { "Test0", "Test1" }); // these items are shown in UI
head.Add(keywords); // head is DotSpatialApp.RibbonHeader
keywords.Items.AddRange(new []{"Test2", "Test3"}); // these items are not shown in UI
Closed Jan 10, 2012 at 12:57 AM by mudnug
By design.

comments

mudnug wrote Dec 5, 2011 at 8:04 PM

This is by design. Note the Items XML documentation states: Changes are not supported after the item is added to the header control.

wrote Jan 10, 2012 at 12:57 AM

wrote Feb 14, 2013 at 2:06 AM

wrote May 16, 2013 at 7:01 AM