/// <summary> /// Event raised when the IsMouseOverShowEnabled property has changed. /// </summary> private static void IsMouseOverShowEnabled_PropertyChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { AdornedControl c = (AdornedControl)o; c.closeAdornerTimer.Stop(); c.HideAdorner(); }
/// <summary> /// Event raised when the Hide command is executed. /// </summary> private static void HideAdornerCommand_Executed(object target, ExecutedRoutedEventArgs e) { AdornedControl c = (AdornedControl)target; c.HideAdorner(); }