From e006a5032b24a7e914c701ef191265966b66a755 Mon Sep 17 00:00:00 2001 From: Sunny Date: Tue, 26 Apr 2022 15:56:51 +0800 Subject: [PATCH] =?UTF-8?q?*=20UIForm:=20=E5=B1=8F=E8=94=BD=E4=B8=80?= =?UTF-8?q?=E4=BA=9B=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SunnyUI/Forms/UIForm.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/SunnyUI/Forms/UIForm.cs b/SunnyUI/Forms/UIForm.cs index 53ee6965..3b7857e6 100644 --- a/SunnyUI/Forms/UIForm.cs +++ b/SunnyUI/Forms/UIForm.cs @@ -32,6 +32,7 @@ * 2022-03-19: V3.1.1 重构主题配色 * 2022-03-28: V3.1.1 增加了查找页面的方法 * 2022-04-02: V3.1.2 默认设置AutoScaleMode为None + * 2022-04-26: V3.1.8 屏蔽一些属性 ******************************************************************************/ using System; @@ -89,6 +90,13 @@ namespace Sunny.UI set => base.IsMdiContainer = false; } + [Browsable(false)] + public new bool AutoScroll + { + get => base.AutoScroll; + set => base.AutoScroll = false; + } + [DefaultValue(false), Category("SunnyUI"), Description("禁止控件跟随窗体缩放")] public bool ZoomScaleDisabled { get; set; }