mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-01-15 09:45:36 -05:00
-------------- CHG Merged partial classes of TaskbarIcon - no only 2 files. ADD Added attached events that indicate an opened popup/tooltip ADD Added storyboards in samples that make use of attached events. git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@56 9f600761-6f11-4665-b6dc-0185e9171623
54 lines
1.3 KiB
C#
54 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Navigation;
|
|
using System.Windows.Shapes;
|
|
using Hardcodet.Wpf.TaskbarNotification;
|
|
|
|
namespace Sample_Project
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for FancyToolTip.xaml
|
|
/// </summary>
|
|
public partial class FancyToolTip
|
|
{
|
|
#region InfoText dependency property
|
|
|
|
/// <summary>
|
|
/// The tooltip details.
|
|
/// </summary>
|
|
public static readonly DependencyProperty InfoTextProperty =
|
|
DependencyProperty.Register("InfoText",
|
|
typeof (string),
|
|
typeof (FancyToolTip),
|
|
new FrameworkPropertyMetadata(""));
|
|
|
|
/// <summary>
|
|
/// A property wrapper for the <see cref="InfoTextProperty"/>
|
|
/// dependency property:<br/>
|
|
/// The tooltip details.
|
|
/// </summary>
|
|
public string InfoText
|
|
{
|
|
get { return (string) GetValue(InfoTextProperty); }
|
|
set { SetValue(InfoTextProperty, value); }
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
public FancyToolTip()
|
|
{
|
|
this.InitializeComponent();
|
|
}
|
|
|
|
}
|
|
} |