xtratabcontrol怎么让选项卡出现叉叉并且可以单击关闭
展开全部
初始化表格加入这段代码,应该可以看见叉叉,关闭事件还需要自己去实现。
C# code?
1
2
3
4
this.xtraTabControl1.HeaderButtons = ((DevExpress.XtraTab.TabButtons)((((DevExpress.XtraTab.TabButtons.Prev | DevExpress.XtraTab.TabButtons.Next)
| DevExpress.XtraTab.TabButtons.Close)
| DevExpress.XtraTab.TabButtons.Default)));
this.xtraTabControl1.HeaderButtonsShowMode = DevExpress.XtraTab.TabButtonSho
C# code?
1
2
3
4
this.xtraTabControl1.HeaderButtons = ((DevExpress.XtraTab.TabButtons)((((DevExpress.XtraTab.TabButtons.Prev | DevExpress.XtraTab.TabButtons.Next)
| DevExpress.XtraTab.TabButtons.Close)
| DevExpress.XtraTab.TabButtons.Default)));
this.xtraTabControl1.HeaderButtonsShowMode = DevExpress.XtraTab.TabButtonSho
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询