编写拖放装饰器的辅助方法

This commit is contained in:
zengwenjie
2025-09-18 18:03:00 +08:00
parent ed1f451121
commit 83fbda7f6d
3 changed files with 122 additions and 9 deletions

View File

@@ -729,14 +729,7 @@ namespace Deedy.Activity
if (eventSource is not ActionViewer && eventSource is DependencyObject dobj && this == dobj.FindAncestor<ActionViewer>()) result = true;
return result;
}
protected virtual void RemoveDragAdorner()
{
//TODO移除拖拽装饰器
}
protected virtual void UpdateDragAdorner(Dock? dock)
{
//TODO更新拖拽装饰器
}
#region
protected override void OnDragEnter(DragEventArgs e)
{
@@ -904,7 +897,7 @@ namespace Deedy.Activity
/// 节点被选中
/// </summary>
/// <remarks>
/// 节点被选中:当视图节点被选中时发生
/// 当视图节点被选中时发生
/// </remarks>
public static readonly RoutedEvent SelectedEvent = EventManager.RegisterRoutedEvent("Selected", RoutingStrategy.Bubble,
typeof(EventHandler<RoutedEventArgs>), typeof(ActionViewer));