Beispiel #1
0
        protected sealed override void ArrangeOverride(Size finalSize)
        {
            if (DisplayContent == null)
            {
                DisplayContent = GetControlTemplatedInstance();
            }

            DisplayContent?.Arrange(new Rect(Point.Empty, finalSize));
        }
Beispiel #2
0
 protected override void ArrangeOverride(Size finalSize) => DisplayContent?.Arrange(new Rect(Point.Empty, finalSize));