// ReSharper disable once CheckNamespace namespace Fluent { using System; using System.Windows; using Fluent.Internal.KnownBoxes; /// /// Provides additional tooltip functionality. /// public static class ToolTipService { /// /// Attach ooltip properties to control. /// /// Control type. public static void Attach(Type type) { System.Windows.Controls.ToolTipService.ShowOnDisabledProperty.OverrideMetadata(type, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); System.Windows.Controls.ToolTipService.InitialShowDelayProperty.OverrideMetadata(type, new FrameworkPropertyMetadata(900)); System.Windows.Controls.ToolTipService.BetweenShowDelayProperty.OverrideMetadata(type, new FrameworkPropertyMetadata(IntBoxes.Zero)); System.Windows.Controls.ToolTipService.ShowDurationProperty.OverrideMetadata(type, new FrameworkPropertyMetadata(20000)); } } }