Home > DeveloperSection > Forums > Iterate through DevExpress Menu items in extraBar
Ankita Pandey
Ankita Pandey

Total Post:183

Posted on    November-20-2014 2:40 AM

 ASP.Net Devexpress 

 1 Reply(s)
 1528  View(s)
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 ?

Royce Roy
Royce Roy

Total Post:149

Posted on    November-20-2014 6:05 AM

Try following:

    foreach (DevExpress.XtraBars.BarItem item in bar.Manager.Items)


       //Do sth.


Don't want to miss updates? Please click the below button!

Follow MindStick