Hello,
I added a sample. This works in 14.1. In 14.2 the Added SubMenuItems below "Zeilenhöhe" are not shown anymore. It works when the RemoveBarItemAndLinkAction is outcommented.
Is there something changed how the "e.Customizations" are processed?
Thank you very much,
Tobias
Hello,
Please clarify what steps I need to perform to see the problematic behavior? As at first sight, your project works as expected on my side. Refer to the attached screencast.
Thanks,
Andrey
Hello,
sorry, I sent you the working Version. Just uncomment the following lines like below:
// It works with the following 6 lines Out-Commented
e.Customizations.Add(new RemoveBarItemAndLinkAction() { ItemName = "ZeilenHoeheSeparator" });
e.Customizations.Add(new RemoveBarItemAndLinkAction() { ItemName = "ZeilenHoehe" });
e.Customizations.Add(new RemoveBarItemAndLinkAction() { ItemName = "ZeilenHoeheAuto" });
e.Customizations.Add(new RemoveBarItemAndLinkAction() { ItemName = "ZeilenHoehe1" });
e.Customizations.Add(new RemoveBarItemAndLinkAction() { ItemName = "ZeilenHoehe2" });
e.Customizations.Add(new RemoveBarItemAndLinkAction() { ItemName = "ZeilenHoehe3" });
Thank you very much,
Tobias
Thank you for your clarification. I have discussed this issue with our developers and we concluded that this behavior is incorrect. I will forward this ticket to our R&D team, and we will contact you as soon as we get any results.
Also, note that in version 14.2, items defined inside other bar items (like ZeilenHoeheAuto, ZeilenHoehe1, ZeilenHoehe2, ZeilenHoehe3) are not added to the BarManager. Thus, there's no need in deleting them using the RemoveBarItemAndLinkAction class.