DotNet 4.8.1 build of DotNetBar

This commit is contained in:
2025-02-07 10:35:23 -05:00
parent 33439b63a0
commit 6b0a5d60f4
2609 changed files with 989814 additions and 7 deletions

View File

@@ -0,0 +1,36 @@
using System.Drawing;
#if AdvTree
namespace DevComponents.Tree.TextMarkup
#elif DOTNETBAR
namespace DevComponents.DotNetBar.TextMarkup
#elif SUPERGRID
namespace DevComponents.SuperGrid.TextMarkup
#elif LAYOUT
namespace DevComponents.DotNetBar.Layout.TextMarkup
#endif
{
internal class Strike : MarkupElement
{
public override void Measure(Size availableSize, MarkupDrawContext d)
{
Bounds = Rectangle.Empty;
}
public override void Render(MarkupDrawContext d)
{
d.StrikeOut = true;
}
public override void RenderEnd(MarkupDrawContext d)
{
d.StrikeOut = false;
base.RenderEnd(d);
}
protected override void ArrangeCore(Rectangle finalRect, MarkupDrawContext d)
{
}
}
}