diff --git a/Windows.Shell/StockIcon.cs b/Windows.Shell/StockIcon.cs index ad350ff3..70b592ac 100644 --- a/Windows.Shell/StockIcon.cs +++ b/Windows.Shell/StockIcon.cs @@ -42,6 +42,10 @@ namespace Vanara.Windows.Shell /// Gets the icon image in format. public Icon Icon { get { Refresh(); return hIcon.IsNull ? null : Icon.FromHandle((IntPtr)hIcon); } } + /// Gets the icon handle. + /// The icon handle. + public HICON IconHandle => hIcon; + /// Gets or sets the Stock Icon identifier associated with this icon. public SHSTOCKICONID Identifier { get; set; }