Iterate through DevExpress Menu items in extraBar

Total Post:183

Points:1285
 1970  View(s)
Ratings:
Rate this:

How to iterate through DevExpress Menu items in XtraBar ?

I need to iterate with a loop through all the menu items in xtrabar and i need to remove certain menu item on the way if some conditions are satisfied ?

  1. Post:149

    Points:1043
    Re: Iterate through DevExpress Menu items in extraBar

    Try following:

        foreach(DevExpress.XtraBars.BarItem item in bar.Manager.Items)
        {
           //Do sth.
        }

      Modified On Apr-06-2018 11:12:23 PM

Answer