Method | Description | |
---|---|---|
FindIconForFilename ( string fileName, bool large ) : System.Windows.Media.ImageSource |
Get an icon for a given filename
|
|
GetFolderIcon ( IconSize size, FolderType folderType ) : |
||
ToImageSource ( this icon ) : System.Windows.Media.ImageSource |
Method | Description | |
---|---|---|
DestroyIcon ( |
||
SHGetFileInfo ( string pszPath, uint dwFileAttributes, SHFILEINFO &psfi, uint cbFileInfo, uint uFlags ) : |
public static FindIconForFilename ( string fileName, bool large ) : System.Windows.Media.ImageSource | ||
fileName | string | any filename |
large | bool | 16x16 or 32x32 icon |
return | System.Windows.Media.ImageSource |
public static GetFolderIcon ( IconSize size, FolderType folderType ) : |
||
size | IconSize | |
folderType | FolderType | |
return |
public static ToImageSource ( this icon ) : System.Windows.Media.ImageSource | ||
icon | this | |
return | System.Windows.Media.ImageSource |