Skip to content

Commit

Permalink
Merge pull request #2614 from cwensley/curtis/tooltipsection
Browse files Browse the repository at this point in the history
Add ToolTipSection to test tooltips
  • Loading branch information
cwensley authored Feb 7, 2024
2 parents e5ec4de + 51dffcd commit 2ee922e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/Eto.Test/Sections/Behaviors/ToolTipSection.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using Eto.Forms;
namespace Eto.Test.Sections.Behaviors
{
[Section("Behaviors", "ToolTip")]
public class ToolTipSection : AllControlsBase
{
protected override void LogEvents(Control control)
{
base.LogEvents(control);
control.ToolTip = $"ToolTip for {control.GetType().Name}";
}
}
}

0 comments on commit 2ee922e

Please sign in to comment.