Added binding sample to code comments (NTFY-18)

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@177 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
Philipp Sumi
2013-11-16 20:58:58 +00:00
parent e7904ade52
commit 62dc577295

View File

@@ -1821,7 +1821,9 @@ namespace Hardcodet.Wpf.TaskbarNotification
/// 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>
/// <code>
/// <TextBlock Text="{Binding RelativeSource={RelativeSource Self}, Path=(tb:TaskbarIcon.ParentTaskbarIcon).ToolTipText}" />
/// </code>
/// </summary>
public static readonly DependencyProperty ParentTaskbarIconProperty =
DependencyProperty.RegisterAttached("ParentTaskbarIcon", typeof (TaskbarIcon), typeof (TaskbarIcon),