清理无用方法

This commit is contained in:
zengwenjie
2025-10-09 09:15:11 +08:00
parent f9138ff444
commit 23fc6c17e6

View File

@@ -60,17 +60,6 @@ namespace Deedy
}
}
/// <summary>
/// 注册附属视图;注册前请确保布局属性被正确设置
/// </summary>
/// <param name="attachedView">要注册的附属视图;注册前请确保布局属性被正确设置</param>
/// <param name="dock">在注册的方向</param>
/// <returns>当前装饰器对象,方便连续操作;不会创建新的装饰器</returns>
public DrawerViewer RegisterAttachedView(UIElement attachedView, Dock? dock)
{
dock ??= (Dock)(((int)(this._direction ?? Dock.Left) + 2) % 4);
return this;
}
/// <summary>
/// 在特定「UIElement」上创建「WindowDrawer」蒙层
/// </summary>
/// <param name="adornedElement">目标「UIElement」元素</param>
@@ -180,7 +169,6 @@ namespace Deedy
};
_border.BeginAnimation(MarginProperty, marginAnimation);
}
public void HideWithAnimation(double seconds = 1)
{
var doubleAnimation = new DoubleAnimation