mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-01-14 10:00:10 -05:00
51 lines
1.3 KiB
C#
51 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 Samples
|
|
{
|
|
/// <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();
|
|
}
|
|
}
|
|
} |