* UIPanel: 禁止显示滚动条

This commit is contained in:
Sunny 2022-01-27 22:44:10 +08:00
parent bbe31f42ed
commit d097e2cf37
3 changed files with 3 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

@ -23,6 +23,7 @@
* 2021-12-11: V3.0.9
* 2021-12-13: V3.0.9 线12
* 2022-01-10: V3.1.0
* 2022-01-27: V3.1.0
******************************************************************************/
using System;
@ -692,10 +693,7 @@ namespace Sunny.UI
}
}
protected override void OnScroll(ScrollEventArgs se)
{
base.OnScroll(se);
if (AutoScroll) Invalidate();
}
[Browsable(false)]
public new bool AutoScroll { get; set; } = false;
}
}