lu
2024-11-27 db99fcbc8ce2de42ed4c9f06a3df6b23fc07e9b4
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;
            // ... 其他初始化代码
        }
    }
}