예제 #1
0
        private void svg_click(int Par_ID)
        {
            TreeItem Curr_Item = LocalData.dynamic_List.Single(x => x.Tree_ID == Par_ID);

            if (Curr_Item.Tree_HasChildren)
            {
                Curr_Item.Tree_IsExpanded = !Curr_Item.Tree_IsExpanded;

                LocalTreeFunctions.Cmd_ChangeVisibility(Curr_Item.Tree_ID, Curr_Item.Tree_IsExpanded, true);
            }
        }