NetBlog主题

DevExpress 给GridControl(或TreeList,等控件都可以)添加右键菜单
DevExpress

DevExpress 给GridControl(或TreeList,等控件都可以)添加右键菜单

5451

视频教程地址 https://www.bilibili.com/video/BV1Hq4y1T7de/ 1、添加BarManager和popupMenu组建2、设置popupMenu组件的Manager属性3、右键点击popupMenu主键,点击Customize选项添加菜单4、然后便可添加到鼠标事件中,此处以GridControl为例/// summary/// popupMenu菜单的…