mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-02-16 11:08:30 -05:00
ADD Added missing XML documentation.
NTFY-16 git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@211 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
@@ -40,10 +40,9 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
Info = 0x10,
|
Info = 0x10,
|
||||||
|
|
||||||
/// <summary>
|
// Internal identifier is set. Reserved, thus commented out.
|
||||||
/// Internal identifier is set. Reserved, thus commented out.
|
|
||||||
/// </summary>
|
|
||||||
//Guid = 0x20,
|
//Guid = 0x20,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Windows Vista (Shell32.dll version 6.0.6) and later. If the ToolTip
|
/// Windows Vista (Shell32.dll version 6.0.6) and later. If the ToolTip
|
||||||
/// cannot be displayed immediately, discard it.<br/>
|
/// cannot be displayed immediately, discard it.<br/>
|
||||||
|
|||||||
@@ -16,9 +16,7 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
Hidden = 0x01,
|
Hidden = 0x01,
|
||||||
|
|
||||||
/// <summary>
|
// The icon is shared - currently not supported, thus commented out.
|
||||||
/// The icon is shared - currently not supported, thus commented out.
|
|
||||||
/// </summary>
|
|
||||||
//Shared = 0x02
|
//Shared = 0x02
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -8,7 +8,13 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
|||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
public struct Point
|
public struct Point
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// X coordinate.
|
||||||
|
/// </summary>
|
||||||
public int X;
|
public int X;
|
||||||
|
/// <summary>
|
||||||
|
/// Y coordinate.
|
||||||
|
/// </summary>
|
||||||
public int Y;
|
public int Y;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -17,6 +17,8 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
|||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
public struct WindowClass
|
public struct WindowClass
|
||||||
{
|
{
|
||||||
|
#pragma warning disable 1591
|
||||||
|
|
||||||
public uint style;
|
public uint style;
|
||||||
public WindowProcedureHandler lpfnWndProc;
|
public WindowProcedureHandler lpfnWndProc;
|
||||||
public int cbClsExtra;
|
public int cbClsExtra;
|
||||||
@@ -27,5 +29,7 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
|||||||
public IntPtr hbrBackground;
|
public IntPtr hbrBackground;
|
||||||
[MarshalAs(UnmanagedType.LPWStr)] public string lpszMenuName;
|
[MarshalAs(UnmanagedType.LPWStr)] public string lpszMenuName;
|
||||||
[MarshalAs(UnmanagedType.LPWStr)] public string lpszClassName;
|
[MarshalAs(UnmanagedType.LPWStr)] public string lpszClassName;
|
||||||
|
|
||||||
|
#pragma warning restore 1591
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -71,7 +71,7 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Handle for the message window.
|
/// Handle for the message window.
|
||||||
/// </summary
|
/// </summary>
|
||||||
internal IntPtr MessageWindowHandle { get; private set; }
|
internal IntPtr MessageWindowHandle { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -309,8 +309,7 @@ namespace Hardcodet.Wpf.TaskbarNotification.Interop
|
|||||||
#region Dispose
|
#region Dispose
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set to true as soon as <see cref="Dispose"/>
|
/// Set to true as soon as <c>Dispose</c> has been invoked.
|
||||||
/// has been invoked.
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsDisposed { get; private set; }
|
public bool IsDisposed { get; private set; }
|
||||||
|
|
||||||
|
|||||||
@@ -142,6 +142,9 @@ namespace Hardcodet.Wpf.TaskbarNotification
|
|||||||
= DependencyProperty.RegisterReadOnly("CustomBalloon", typeof (Popup), typeof (TaskbarIcon),
|
= DependencyProperty.RegisterReadOnly("CustomBalloon", typeof (Popup), typeof (TaskbarIcon),
|
||||||
new FrameworkPropertyMetadata(null));
|
new FrameworkPropertyMetadata(null));
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Maintains a currently displayed custom balloon.
|
||||||
|
/// </summary>
|
||||||
public static readonly DependencyProperty CustomBalloonProperty
|
public static readonly DependencyProperty CustomBalloonProperty
|
||||||
= CustomBalloonPropertyKey.DependencyProperty;
|
= CustomBalloonPropertyKey.DependencyProperty;
|
||||||
|
|
||||||
|
|||||||
@@ -514,7 +514,7 @@ namespace Hardcodet.Wpf.TaskbarNotification
|
|||||||
/// <see cref="Popup"/> because there was no way to prevent a
|
/// <see cref="Popup"/> because there was no way to prevent a
|
||||||
/// popup from causing cyclic open/close commands if it was
|
/// popup from causing cyclic open/close commands if it was
|
||||||
/// placed under the mouse. ToolTip internally uses a Popup of
|
/// placed under the mouse. ToolTip internally uses a Popup of
|
||||||
/// its own, but takes advance of Popup's internal <see cref="Popup.HitTestable"/>
|
/// its own, but takes advance of Popup's internal <see cref="UIElement.IsHitTestVisible"/>
|
||||||
/// property which prevents this issue.</remarks>
|
/// property which prevents this issue.</remarks>
|
||||||
private void CreateCustomToolTip()
|
private void CreateCustomToolTip()
|
||||||
{
|
{
|
||||||
@@ -600,7 +600,7 @@ namespace Hardcodet.Wpf.TaskbarNotification
|
|||||||
/// <see cref="Popup"/> because there was no way to prevent a
|
/// <see cref="Popup"/> because there was no way to prevent a
|
||||||
/// popup from causing cyclic open/close commands if it was
|
/// popup from causing cyclic open/close commands if it was
|
||||||
/// placed under the mouse. ToolTip internally uses a Popup of
|
/// placed under the mouse. ToolTip internally uses a Popup of
|
||||||
/// its own, but takes advance of Popup's internal <see cref="Popup.HitTestable"/>
|
/// its own, but takes advance of Popup's internal <see cref="UIElement.IsHitTestVisible"/>
|
||||||
/// property which prevents this issue.</remarks>
|
/// property which prevents this issue.</remarks>
|
||||||
private void CreatePopup()
|
private void CreatePopup()
|
||||||
{
|
{
|
||||||
@@ -986,8 +986,7 @@ namespace Hardcodet.Wpf.TaskbarNotification
|
|||||||
#region Dispose / Exit
|
#region Dispose / Exit
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set to true as soon as <see cref="Dispose"/>
|
/// Set to true as soon as <c>Dispose</c> has been invoked.
|
||||||
/// has been invoked.
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsDisposed { get; private set; }
|
public bool IsDisposed { get; private set; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user