mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-01-14 01:25:45 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user