摘要: 增加显示列gridView.Columns.AddVisible("AgentName", "姓名");设置是否为只读gridView1.OptionsBehavior.ReadOnly = true;设置是否可编辑gridView1.OptionsBehavior.Editable = false 阅读全文
posted @ 2021-03-29 11:34 liessay 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 因默认外边距过大需要将外边距缩小用以下代码实现layoutControlGroup1.Padding = DevExpress.XtraLayout.Utils.Padding.Empty;是否允许只读控件获得焦点layoutControl1.OptionsFocus.AllowFocusReado 阅读全文
posted @ 2021-03-29 11:31 liessay 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 绑定数据 treeListLookUpEdit1.Properties.DataSource=list;增加列treeListLookUpEdit1.Properties.TreeList.Columns.AddVisible("DepartmentCode");设置IDtreeListLookUp 阅读全文
posted @ 2021-03-29 11:29 liessay 阅读(543) 评论(0) 推荐(0) 编辑
摘要: 增加显示列treeList1.Columns.Add(new TreeListColumn {Caption = "城市", FieldName = "Name", VisibleIndex = 0});设置是否为只读treeList1.OptionsBehavior.ReadOnly = true 阅读全文
posted @ 2021-03-29 11:28 liessay 阅读(1064) 评论(0) 推荐(0) 编辑