/// <summary> /// Event raised when the CloseAdornerTimeOut property has change. /// </summary> private static void CloseAdornerTimeOut_PropertyChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { AdornedControl c = (AdornedControl)o; c.closeAdornerTimer.Interval = TimeSpan.FromSeconds(c.CloseAdornerTimeOut); }
/// <summary> /// Event raised when the FadeOut command is executed. /// </summary> private static void FadeOutAdornerCommand_Executed(object target, ExecutedRoutedEventArgs e) { AdornedControl c = (AdornedControl)target; c.FadeOutAdorner(); }