修改锚点窗口对entry类的依赖,现在可以自行通过泛型扩展。

This commit is contained in:
2026-06-15 09:26:24 +08:00
parent 856c395819
commit 922eb0e450
11 changed files with 394 additions and 26 deletions
+29
View File
@@ -0,0 +1,29 @@
using System;
namespace XericUI.VisualForm
{
/// <summary>
/// 安全区检测模式
/// </summary>
public enum SafeZoneMode
{
/// <summary>矩形安全区</summary>
Rect,
/// <summary>椭圆形安全区</summary>
Ellipse
}
/// <summary>
/// 窗口溢出状态(Flags枚举,支持位运算叠加)
/// </summary>
[Flags]
public enum OverflowState
{
/// <summary>在安全区范围内</summary>
InRange = 0,
/// <summary>超出安全区</summary>
OutOfSafeZone = 1 << 0,
/// <summary>超出屏幕</summary>
OutOfScreen = 1 << 1
}
}