Skip to content

Commit

Permalink
Add ToolTipSection to test tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
cwensley committed Feb 7, 2024
1 parent db8e205 commit 51dffcd
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 51dffcd

Please sign in to comment.