Devexpress-office-Effect

Source: Internet
Author: User

During project development, you need to design a nice UI interface. Because the company uses the devexpress control, the Office effect provided by devexpress is used.

 

Case studies

Create a ribbonform Template

Delete clientpanel (if not deleted, the xtratabbedmdimanager effect cannot be displayed)

Drag a navbarcontrol file to set the dock attribute to left.

 

Add an xtratabbedmdimanager and set the mdiparent attribute to none.

Then you can start the preparation on the load event.

 //拖动xtraTabbedManager到窗体中,在属性中将MdiParent设置成(无)...            xtraTabbedMdiManager1.MdiParent = this;   //设置控件的父表单..            XtraForm1 frm = new XtraForm1();    //定义一个form1窗体            frm.MdiParent = this;    //设置新建窗体的父表单为当前活动窗口            frm.Show();    //以非模式窗口方式打开            xtraTabbedMdiManager1.SelectedPage = xtraTabbedMdiManager1.Pages[frm];    //使得标签的选择为当前新建的窗口            this.xtraTabbedMdiManager1.ClosePageButtonShowMode = DevExpress.XtraTab.ClosePageButtonShowMode.InAllTabPagesAndTabControlHeader;    //设置标签后面添加删除按钮 ,  多个标签只需要设置一次..

Effect:

Devexpress-office-Effect

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.