ITERATE THROUGH DEVEXPRESS MENU ITEMS IN EXTRABAR

Ankita Pandey

Total Post:183

Points:1285
Posted by  Ankita Pandey
 1629  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. Royce Roy

    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.

        }

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!