naps2/NAPS2.Lib/EtoForms/Layout/SkipLayoutElement.cs
2022-11-07 22:41:04 -08:00

9 lines
347 B
C#

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