/// <inheritdoc/> protected override Size ArrangeOverride(Size finalSize) { return(LayoutHelper.ArrangeChild(Child, finalSize, Padding)); }
/// <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)); }
/// <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)); }