编写拖放装饰器的辅助方法
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user