Flood.Tests.GUI.DumpLayout C# (CSharp) Méthode

DumpLayout() static private méthode

static private DumpLayout ( Control control ) : GUIDumpData
control Flood.GUI.Controls.Control
Résultat GUIDumpData
        static GUIDumpData DumpLayout(Control control)
        {
            // Find the root control in the hierarchy.
            var rootControl = control;
            while (rootControl.Parent != null)
                rootControl = rootControl.Parent;

            return BuildDumpTree(rootControl);
        }