lixiaojun
2024-08-12 b35818c4107265e4e3f9ed488bc24158576ae95f
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;
        }
 
    }
}