예제 #1
0
 public void ExpandNode(ExplorerItem item)
 {
     var node = treeList.View.GetNodeByContent(item);
     if (node != null)
     {
         view.ExpandNode(node.RowHandle);
     }
 }
예제 #2
0
        public void ExpandNode(ExplorerItem item)
        {
            var node = treeList.View.GetNodeByContent(item);

            if (node != null)
            {
                view.ExpandNode(node.RowHandle);
            }
        }
 public SelectedExplorerItemChanged(ExplorerItem explorerItem)
 {
     SelectedExplorerItem = explorerItem;
 }
 public static T As <T>(this ExplorerItem explorerItem) where T : ExplorerItem
 {
     return(explorerItem as T);
 }
 public static bool IsEndpointExplorerSelected(this ExplorerItem explorerItem)
 {
     return(explorerItem is EndpointExplorerItem ||
            explorerItem is ServiceExplorerItem);
 }
 public static bool IsQueueExplorerSelected(this ExplorerItem explorerItem)
 {
     return(explorerItem is QueueExplorerItem ||
            explorerItem is QueueServerExplorerItem);
 }