lu
2024-12-02 05731195c2c3d5adcbefd2bc18f12ebe84b0d68a
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;
            // ... 其他初始化代码
        }
    }
}