清理无用方法
This commit is contained in:
@@ -60,17 +60,6 @@ namespace Deedy
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <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」蒙层
|
/// 在特定「UIElement」上创建「WindowDrawer」蒙层
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="adornedElement">目标「UIElement」元素</param>
|
/// <param name="adornedElement">目标「UIElement」元素</param>
|
||||||
@@ -180,7 +169,6 @@ namespace Deedy
|
|||||||
};
|
};
|
||||||
_border.BeginAnimation(MarginProperty, marginAnimation);
|
_border.BeginAnimation(MarginProperty, marginAnimation);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void HideWithAnimation(double seconds = 1)
|
public void HideWithAnimation(double seconds = 1)
|
||||||
{
|
{
|
||||||
var doubleAnimation = new DoubleAnimation
|
var doubleAnimation = new DoubleAnimation
|
||||||
|
|||||||
Reference in New Issue
Block a user