CHG The attached TaskBarIcon DP is derived now, so binding doesn't have to go through the parent element anymore (NTFY-18).

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@175 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
Philipp Sumi
2013-11-16 20:55:36 +00:00
parent f534bbc773
commit 24bbec3a45

View File

@@ -1818,10 +1818,14 @@ namespace Hardcodet.Wpf.TaskbarNotification
#region ParentTaskbarIcon
/// <summary>
/// An attached property that is assigned to
/// An attached property that is assigned to displayed UI elements (balloos, tooltips, context menus), and
/// that can be used to bind to this control. The attached property is being derived, so binding is
/// quite straightforward:
/// <c></c>
/// </summary>
public static readonly DependencyProperty ParentTaskbarIconProperty =
DependencyProperty.RegisterAttached("ParentTaskbarIcon", typeof (TaskbarIcon), typeof (TaskbarIcon));
DependencyProperty.RegisterAttached("ParentTaskbarIcon", typeof (TaskbarIcon), typeof (TaskbarIcon),
new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits));
/// <summary>
/// Gets the ParentTaskbarIcon property. This dependency property