naps2/NAPS2.Lib/EtoForms/Layout/ExpandLayoutElement.cs
2022-12-02 17:52:27 -08:00

18 lines
510 B
C#

using Eto.Drawing;
namespace NAPS2.EtoForms.Layout;
public class ExpandLayoutElement : LayoutElement
{
public ExpandLayoutElement(params LayoutElement[] children)
{
Children = children;
}
public LayoutElement[] Children { get; }
public override void DoLayout(LayoutContext context, RectangleF bounds) => throw new NotSupportedException();
public override SizeF GetPreferredSize(LayoutContext context, RectangleF parentBounds) =>
throw new NotSupportedException();
}