lu
2024-12-05 c58f2d6dfc34e40a20ed960b0da61924d680b25f
DevApp/Gs.DevApp/TestForm/XtraForm2.cs
@@ -1,4 +1,7 @@
using DevExpress.XtraEditors;
using DevExpress.Data;
using DevExpress.XtraEditors;
using DevExpress.XtraGrid.Views.BandedGrid;
using DevExpress.XtraGrid.Views.Grid;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -16,6 +19,14 @@
        public XtraForm2()
        {
            InitializeComponent();
            bandedGridView1 = new BandedGridView();
            bandedGridView1.OptionsView.EnableAppearanceEvenRow = true;
            bandedGridView1.OptionsView.EnableAppearanceOddRow = true;
            bandedGridView1.OptionsCustomization.AllowSort = true;
           // bandedGridView1.OptionsBehavior.AllowRecorderClickSort = true;
            // ... 其他初始化代码
        }
    }
}