Click or drag to resize

StockIcon Class

A utility class to read Windows stock icons.
Inheritance Hierarchy
SystemObject
  ShellBoost.Core.UtilitiesStockIcon

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static class StockIcon

The StockIcon type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberStockImages
Gets the stock images list.
Public propertyStatic memberStockImagesCount
Gets the stock images count.
Top
Methods
  NameDescription
Public methodStatic memberAddToStockImages
Adds a list to the stock images.
Public methodStatic memberGetShieldIcon
Gets the Windows UAC shield icon. You *must* call ShellUtilities.DestroyIcon on the returned icon handle once you have finished to use it.
Public methodStatic memberGetShieldImage
Gets the Windows UAC shield image.
Public methodStatic memberGetStockBitmap(String)
Gets a Winforms icon as a bitmap.
Public methodStatic memberGetStockBitmap(StockIconId, StockIconSHGSI)
Gets a stock WPF bitmap by its identifier.
Public methodStatic memberGetStockBitmap(String, Color)
Gets a Winforms icon as a bitmap.
Public methodStatic memberGetStockIcon
Gets a stock icon by its identifier. You *must* call ShellUtilities.DestroyIcon on the returned icon handle once you have finished to use it.
Public methodStatic memberGetStockIconHandle
Gets a stock icon handle by its identifier.
Public methodStatic memberGetStockImage
Gets a stock image by its identifier.
Top
See Also