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); } } }
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(); }
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); }
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); }
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); } } }