ComponentFactory.Krypton.Toolkit.ViewDrawDebug.Layout C# (CSharp) Method

Layout() public method

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
return void
        public override void Layout(ViewLayoutContext context)
        {
            Debug.Assert(context != null);

            // Use all of the provided space

            // Always use the metric and ignore given space
            ClientRectangle = context.DisplayRectangle;
        }