Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Clears up any resources associated with the SystemImageList
|
|
Dispose ( bool disposing ) : void |
Clears up any resources associated with the SystemImageList when disposing is true.
|
|
DrawImage ( |
Draws an image
|
|
DrawImage ( |
Draws an image using the specified flags
|
|
DrawImage ( |
Draws an image using the specified flags and specifies the size to clip to (or to stretch to if ILD_SCALE is provided).
|
|
DrawImage ( |
Draws an image using the specified flags and state on XP systems.
|
|
Icon ( int index ) : |
Returns a GDI+ copy of the icon from the ImageList at the specified index.
|
|
IconIndex ( string fileName ) : int |
Return the index of the icon for the specified file, always using the cached version where possible.
|
|
IconIndex ( string fileName, bool forceLoadFromDisk ) : int |
Returns the index of the icon for the specified file
|
|
IconIndex ( string fileName, bool forceLoadFromDisk, ShellIconStateConstants iconState ) : int |
Returns the index of the icon for the specified file
|
|
SetImageList ( |
||
SetImageList ( |
||
SystemImageList ( ) : System |
Creates a Small Icons SystemImageList
|
|
SystemImageList ( SystemImageListSize size ) : System |
Creates a SystemImageList with the specified size
|
Méthode | Description | |
---|---|---|
DestroyIcon ( |
||
FormatMessage ( int dwFlags, |
||
GetLastError ( ) : int | ||
ImageList_Draw ( |
||
ImageList_DrawIndirect ( IMAGELISTDRAWPARAMS &pimldp ) : int | ||
ImageList_GetIcon ( |
||
ImageList_GetIconSize ( |
||
SHGetFileInfo ( string pszPath, int dwFileAttributes, SHFILEINFO &psfi, uint cbFileInfo, uint uFlags ) : |
||
SHGetImageList ( int iImageList, System.Guid &riid, IImageList &ppv ) : int | ||
SHGetImageListHandle ( int iImageList, System.Guid &riid, |
||
SendMessage ( |
||
SetImageListControl ( Control ctrl, SystemImageList sysImageList, bool forStateImages ) : void | ||
create ( ) : void |
Creates the SystemImageList
|
|
isXpOrAbove ( ) : bool |
Determines if the system is running Windows XP or above
|
public Dispose ( bool disposing ) : void | ||
disposing | bool | Whether the object is being disposed |
Résultat | void |
public DrawImage ( |
||
hdc | Device context to draw to | |
index | int | Index of image to draw |
x | int | X Position to draw at |
y | int | Y Position to draw at |
Résultat | void |
public DrawImage ( |
||
hdc | Device context to draw to | |
index | int | Index of image to draw |
x | int | X Position to draw at |
y | int | Y Position to draw at |
flags | ImageListDrawItemConstants | Drawing flags |
Résultat | void |
public DrawImage ( |
||
hdc | Device context to draw to | |
index | int | Index of image to draw |
x | int | X Position to draw at |
y | int | Y Position to draw at |
flags | ImageListDrawItemConstants | Drawing flags |
cx | int | Width to draw |
cy | int | Height to draw |
Résultat | void |
public DrawImage ( |
||
hdc | Device context to draw to | |
index | int | Index of image to draw |
x | int | X Position to draw at |
y | int | Y Position to draw at |
flags | ImageListDrawItemConstants | Drawing flags |
cx | int | Width to draw |
cy | int | Height to draw |
foreColor | Color | Fore colour to blend with when using the /// ILD_SELECTED or ILD_BLEND25 flags |
stateFlags | ImageListDrawStateConstants | State flags |
saturateColorOrAlpha | Color | If stateFlags includes ILS_ALPHA, /// then the alpha component is applied to the icon. Otherwise if /// ILS_SATURATE is included, then the (R,G,B) components are used /// to saturate the image. |
glowOrShadowColor | Color | If stateFlags include ILS_GLOW, then /// the colour to use for the glow effect. Otherwise if stateFlags includes /// ILS_SHADOW, then the colour to use for the shadow. |
Résultat | void |
public Icon ( int index ) : |
||
index | int | The index to get the icon for |
Résultat |
public IconIndex ( string fileName ) : int | ||
fileName | string | Filename to get icon for |
Résultat | int |
public IconIndex ( string fileName, bool forceLoadFromDisk ) : int | ||
fileName | string | Filename to get icon for |
forceLoadFromDisk | bool | If True, then hit the disk to get the icon, /// otherwise only hit the disk if no cached icon is available. |
Résultat | int |
public IconIndex ( string fileName, bool forceLoadFromDisk, ShellIconStateConstants iconState ) : int | ||
fileName | string | Filename to get icon for |
forceLoadFromDisk | bool | If True, then hit the disk to get the icon, /// otherwise only hit the disk if no cached icon is available. |
iconState | ShellIconStateConstants | Flags specifying the state of the icon /// returned. |
Résultat | int |
public static SetImageList ( |
||
listView | ||
sysImageList | ||
forStateImages | bool | |
Résultat | void |
public static SetImageList ( |
||
tree | ||
sysImageList | ||
forStateImages | bool | |
Résultat | void |
public SystemImageList ( SystemImageListSize size ) : System | ||
size | SystemImageListSize | Size of System ImageList |
Résultat | System |