예제 #1
0
        private Group AddGroup(string[] parts)
        {
            var group = new Group();

            Groups.Add(group);
            DefaultGroup.Add(group);

            return(group);
        }
예제 #2
0
        protected override void CreateGroups()
        {
            base.CreateGroups();
            var designerType = Type.GetType("DevExpress.XtraGrid.Frames.Layouts, DevExpress.XtraGrid" + XafApplication.CurrentVersion + ".Design");

            if (designerType != null)
            {
                DefaultGroup.Add("Bands", "Customize the current view's layout and preview its data.", designerType, GetDefaultLargeImage(4), GetDefaultSmallImage(4), null);
            }
        }
예제 #3
0
        protected override void CreateGroups()
        {
            base.CreateGroups();
            var designerType = Type.GetType("DevExpress.XtraGrid.Frames.BandDesigner, DevExpress.XtraGrid" + XafApplication.CurrentVersion + ".Design");

            if (designerType != null)
            {
                DefaultGroup.Add("Bands", "Adjust the Band collection of the current view and customize the layout of bands.", designerType, GetDefaultLargeImage(2), GetDefaultSmallImage(2), null);
            }
        }