Пример #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);
 }