Exemple #1
0
 private void Tree_ItemAction(TreeViewItemVM sender, UserTreeViewItemEventEnum action)
 {
     if (action == UserTreeViewItemEventEnum.Selected)
     {
         Tree_ItemSelected(sender);
     }
     else if (action == UserTreeViewItemEventEnum.Open)
     {
         Tree_ItemOpen(sender);
     }
 }
 private void Item_Action(TreeViewItemVM sender, UserTreeViewItemEventEnum action) => ItemAction?.Invoke(sender, action);