Files
DP44/Common/DTS.Common/Themes/CommonStyles.xaml.cs
2026-04-17 14:55:32 -04:00

20 lines
527 B
C#

using DTS.Common.Events;
using Prism.Ioc;
using Prism.Events;
namespace DTS.Common
{
public partial class CommonStyles
{
public void ToolTipEventHandler(object sender, System.Windows.Controls.ToolTipEventArgs e)
{
e.Handled = true;
var eventAggregator = ContainerLocator.Container.Resolve<IEventAggregator>();
eventAggregator.GetEvent<HelpTextEvent>().Publish(new HelpTextEventArg()
{ Sender = sender, E = e });
}
}
}