Beispiel #1
0
        protected override Vector2 MeasureOverride(Vector2 availableSize)
        {
            if (ItemsPanel == null)
            {
                return(Vector2.Zero);
            }

            ItemsPanel.Measure(availableSize);
            return(ItemsPanel.DesiredSize);
        }