Shuxia Ning
2024-08-07 554694000f4d7ffc231a23e7ff429595c254ceaa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using DevExpress.XtraLayout;
 
namespace IStation.Win
{
    /// <summary>
    /// layoutControl拓展类
    /// </summary>
    public static class LayoutControlExtensions
    {
        /// <summary>
        /// 设置
        /// </summary>
        /// <param name="layout"></param>
        public static void SetupLayoutControl(this LayoutControl layout)
        {
            layout.AllowCustomization = false;
            layout.OptionsView.UseParentAutoScaleFactor = true;
        }
 
    }
}