duheng
2024-12-19 3af811d30c93995e2500bdd2f3795be77cc1a519
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;
        }
 
    }
}