public void When_TransformToParent_With_Margin()
        {
            const int marginX = 0;
            const int marginY = 30;

            var sut    = Border2Child.TransformToVisual(Border2);
            var result = sut.TransformBounds(new Rect(0, 0, 50, 50));

            Assert.AreEqual(new Rect(marginX, marginY, 50, 50), result);
        }
        public void When_TransformToRoot_With_InheritedTranslateTransform_And_Margin()
        {
            var       windowBounds = Windows.UI.Xaml.Window.Current.Bounds;
            var       originAbs    = new Point(windowBounds.Width - Border2.ActualWidth, windowBounds.Height - Border2.ActualHeight);
            const int tX           = -50;
            const int tY           = -50;
            const int marginX      = 0;
            const int marginY      = 30;

            var sut    = Border2Child.TransformToVisual(null);
            var result = sut.TransformBounds(new Rect(0, 0, 50, 50));

            Assert.AreEqual(new Rect(originAbs.X + tX + marginX, originAbs.Y + tY + marginY, 50, 50), result);
        }