From 51dffcdbdd35ebe3042e8ba4d7ca285714656f39 Mon Sep 17 00:00:00 2001 From: Curtis Wensley Date: Wed, 7 Feb 2024 11:28:39 -0800 Subject: [PATCH] Add ToolTipSection to test tooltips --- test/Eto.Test/Sections/Behaviors/ToolTipSection.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/Eto.Test/Sections/Behaviors/ToolTipSection.cs diff --git a/test/Eto.Test/Sections/Behaviors/ToolTipSection.cs b/test/Eto.Test/Sections/Behaviors/ToolTipSection.cs new file mode 100644 index 0000000000..1bf663c411 --- /dev/null +++ b/test/Eto.Test/Sections/Behaviors/ToolTipSection.cs @@ -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}"; + } + } +} +