duheng
2025-01-13 e7df5d1ece7ecabaa7a3943f24a6621649fdc455
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace Yw.WinFrmUI
{
    /// <summary>
    /// BandedGridView拓展类
    /// </summary>
    public static class BandGridViewExtensions
    {
        /// <summary>
        /// 设置bandView
        /// </summary>
        public static void SetBandView(this BandedGridView band, int height = 28)
        {
            band.SetNormalView(height);
            band.BandPanelRowHeight = height;
            band.Appearance.BandPanel.TextOptions.HAlignment = HorzAlignment.Center;
        }
 
    }
}