我需要循环遍历 RibbonPageGroup 中的所有项目。我尝试将所有功能区项目的 Visibility 属性设置为“true/always”
For Each rp As RibbonPage In ribbonControl.Pages
rp.Visible = True
For Each pg As RibbonPageGroup In rp.Groups
pg.Visible = True
For Each btn As DevExpress.XtraBars.BarButtonItem In pg.??????
btn.Visibility = DevExpress.XtraBars.BarItemVisibility.Always
Next
Next
Next