Ejemplo n.º 1
0
 /// <inheritdoc/>
 protected override Size ArrangeOverride(Size finalSize)
 {
     return(LayoutHelper.ArrangeChild(Child, finalSize, Padding));
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Arranges the control's child.
        /// </summary>
        /// <param name="finalSize">The size allocated to the control.</param>
        /// <returns>The space taken.</returns>
        protected override Size ArrangeOverride(Size finalSize)
        {
            _borderRenderHelper.Update(finalSize, BorderThickness, CornerRadius);

            return(LayoutHelper.ArrangeChild(Child, finalSize, Padding, BorderThickness));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Arranges the control's child.
        /// </summary>
        /// <param name="finalSize">The size allocated to the control.</param>
        /// <returns>The space taken.</returns>
        protected override Size ArrangeOverride(Size finalSize)
        {
            _shadowRenderHelper.Update(finalSize, Depth, Extent, CornerRadius);

            return(LayoutHelper.ArrangeChild(Child, finalSize, Padding, ZeroThickness));
        }