Welcome to the WinForms feedback portal. We’re happy you’re here! If you have feedback on how to improve the WinForms, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

When ribbon contains too many items some tool strips are collapsed. In such case ToolStripEx.Items returns a collection of single item - drop down button of the collapsed strip, instead of real items. I was able to work around this by using method below, however I'm not sure if that will always be valid and work as intended. I think Items property should always return the original item collection.


private ToolStripItemCollection GetItemCollection(ToolStripEx strip)

{

if (strip == null) return null;


if (strip.State == ToolStripEx.ToolStripExState.Collapsed)

return ((ToolStripPanelItem)((CustomDropDownButtonBase)strip.Items[0]).DropDownItems[0]).Items;

else

return strip.Items;

}