Click or drag to resize

StockIconGetStockBitmap Method (StockIconId, StockIconSHGSI)

Gets a stock WPF bitmap by its identifier.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static BitmapSource GetStockBitmap(
	StockIconId id,
	StockIconSHGSI flags = StockIconSHGSI.SHGSI_SMALLICON
)

Parameters

id
Type: callback.ShellBoost.Core.UtilitiesStockIconId
The identifier.
flags (Optional)
Type: callback.ShellBoost.Core.UtilitiesStockIconSHGSI
The flags.

Return Value

Type: BitmapSource
An instance of the BitmapSource class.
See Also