RecalcMinMaxRecurse() private static method

private static RecalcMinMaxRecurse ( SplitView node ) : void
node SplitView
return void
示例#1
0
 private static void ReflowRecurse(SplitView node)
 {
     node.Reflow();
     foreach (View child in node.children)
     {
         SplitView node1 = child as SplitView;
         if ((bool)((Object)node1))
         {
             SplitView.RecalcMinMaxRecurse(node1);
         }
     }
 }
示例#2
0
 private static void RecalcMinMaxRecurse(SplitView node)
 {
     foreach (View child in node.children)
     {
         SplitView node1 = child as SplitView;
         if ((bool)((Object)node1))
         {
             SplitView.RecalcMinMaxRecurse(node1);
         }
     }
     node.ChildrenMinMaxChanged();
 }
示例#3
0
        private static void RecalcMinMaxAndReflowAll(SplitView start)
        {
            SplitView splitView = start;
            SplitView node;

            do
            {
                node      = splitView;
                splitView = node.parent as SplitView;
            }while ((bool)((Object)splitView));
            SplitView.RecalcMinMaxRecurse(node);
            SplitView.ReflowRecurse(node);
        }
示例#4
0
        private static void RecalcMinMaxAndReflowAll(SplitView start)
        {
            SplitView splitView = start;
            SplitView splitView2;

            do
            {
                splitView2 = splitView;
                splitView  = (splitView2.parent as SplitView);
            }while (splitView);
            SplitView.RecalcMinMaxRecurse(splitView2);
            SplitView.ReflowRecurse(splitView2);
        }
示例#5
0
 private static void ReflowRecurse(SplitView node)
 {
     node.Reflow();
     View[] children = node.children;
     for (int i = 0; i < children.Length; i++)
     {
         View      view      = children[i];
         SplitView splitView = view as SplitView;
         if (splitView)
         {
             SplitView.RecalcMinMaxRecurse(splitView);
         }
     }
 }