DevExpress+Winform(二)

你。 提交于 2020-07-27 22:58:02

无敌模糊学习视频:https://www.bilibili.com/video/BV15x411x7WN?p=3

第三集:实现一个页面,新建devexpress winform blankApplication。

 

  •  使用RibbonControl,添加几组PageGroup。PageGroup添加几个Item,PageGroup设置一下Text。每个Item设置一下LargeImage或Image(旧版本LageGlyph,Glyph)。想显示Image的时候,应该把LargeImage清除掉。Item设置一下ButtonStyle。Item设置Caption。

 

  •  实现皮肤设置,添加RibbonGalleryBarItem。后台初始化皮肤。

 

private void Form1_Load(object sender, EventArgs e)
 {
     SkinHelper.InitSkinGallery(ribbonGalleryBarItem1, true);
 }
  • 底部状态栏的实现。拖动RibbonStatusBar,添加BarStaticItem,设置Item的Caption。

 

  •  侧边栏,拖动NavBarControl,设置其Dock属性。右键AddGroup,AddItem。设置Group的Caption。设置Item的Caption和Image。

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!