DevExpress控件之LayoutControl

一、项目运行中不显示右键菜单

layoutControl1.AllowCustomization = false

二、控件超出容器后不显示滚动条

layoutControl1.AtuoScroll = false

三、在layoutControlItem前面显示图片

1. layoutControlItem1.TextVisible = true

2. layoutControlItem1.Text = " "

3. 设置layoutControlItem1下ImageOptions.Alignment=MiddleCenter,并选择ImageIndex或选择其它图片

猜你喜欢

转载自www.cnblogs.com/code1992/p/10552078.html
今日推荐