/// <summary>
 /// Sets the ParentTaskbarIcon property.  This dependency property 
 /// indicates ....
 /// </summary>
 public static void SetParentTaskbarIcon(DependencyObject d, TaskbarIcon value)
 {
     d.SetValue(ParentTaskbarIconProperty, value);
 }
        /// <summary>
        /// A static helper method to raise the BalloonClosing event on a target element.
        /// </summary>
        /// <param name="target">UIElement or ContentElement on which to raise the event</param>
        /// <param name="source">The <see cref="TaskbarIcon"/> instance that manages the balloon.</param>
        internal static RoutedEventArgs RaiseBalloonClosingEvent(DependencyObject target, TaskbarIcon source)
        {
            if (target == null) return null;

            RoutedEventArgs args = new RoutedEventArgs(BalloonClosingEvent, source);
            RoutedEventHelper.RaiseEvent(target, args);
            return args;
        }