Пример #1
0
        /* Order:
         * ComputeStyle
         * ComputeChildBoundsOffers
         * ComputeBounds
         * Render
         */

        protected internal virtual void CallComputeStyle(GlobalProcessLayoutContext ctx)
        {
            var c = ProcessLayoutContext;

            c.GlobalContext = ctx;
            ComputeStyle(c);
        }
Пример #2
0
        protected internal virtual void CallComputeChildBoundsOffers(GlobalProcessLayoutContext ctx)
        {
            var c = ProcessLayoutContext;

            c.GlobalContext = ctx;
            ComputeChildBoundsOffers(c);
        }
Пример #3
0
        protected internal virtual void CallComputeBounds(GlobalProcessLayoutContext ctx)
        {
            var c = ProcessLayoutContext;

            c.GlobalContext = ctx;
            c.RowPosition   = default;
            c.RowHeight     = default;
            c.RowElements.Clear();
            ComputeBounds(c);
        }