Beispiel #1
0
 internal static void HideAllOtherRows(TreeListNode node)
 {
     if (node == null)
     {
         return;
     }
     node.TreeList.BeginUpdate();
     EM_AppContext.Instance.GetActiveCountryMainForm().ClearCellSelection();  //clear any existing selection of cells (to avoid that actions on selected cells change hidden rows)
     foreach (TreeListNode siblingNode in TreeListManager.GetSiblingNodes(node))
     {
         siblingNode.Visible = false;
     }
     node.TreeList.EndUpdate();
 }