C# Класс BExplorer.Shell.ImageList

A wrapper of IImageList.
Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
Dispose ( ) : void
Dispose ( bool disposing ) : void
DrawIcon ( IntPtr hdc, int index, Point location, int newSize = -1, System.Boolean hidden = false ) : void

Draws the icon

DrawOverlay ( IntPtr hdc, int overlayIndex, Point location, int newSize = -1 ) : void

Draws the icon

GetIconIndexWithOverlay ( IntPtr path, int &overlayIndex ) : int

GetIndexOfOverlay ( int overlayIndex ) : int

Retrieves a specified image from the list of images used as overlay masks.

ImageList ( ImageListSize size ) : BExplorer.Shell.Interop

Приватные методы

Метод Описание
DrawInternal ( IntPtr hdc, int index, int overlayIndex, ImageListDrawOptions options, ImageListDrawStates state, int alpha, Point location, int newSize ) : void

Draws the icon

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( bool disposing ) : void
disposing bool
Результат void

DrawIcon() публичный Метод

Draws the icon
public DrawIcon ( IntPtr hdc, int index, Point location, int newSize = -1, System.Boolean hidden = false ) : void
hdc System.IntPtr A handle to the destination device context.
index int The zero-based index of the image to be drawn.
location Point The x and y coordinates that specifies where the image is drawn.
newSize int The new size of the image (Double Check)
hidden System.Boolean
Результат void

DrawOverlay() публичный Метод

Draws the icon
public DrawOverlay ( IntPtr hdc, int overlayIndex, Point location, int newSize = -1 ) : void
hdc System.IntPtr A handle to the destination device context.
overlayIndex int The index of the overlay
location Point The x and y coordinates that specifies where the image is drawn.
newSize int The new size of the image (Double Check)
Результат void

GetIconIndexWithOverlay() публичный Метод

public GetIconIndexWithOverlay ( IntPtr path, int &overlayIndex ) : int
path System.IntPtr
overlayIndex int Index of the overlay icon that use for Draw or GetIndexOfOverlay method.
Результат int

GetIndexOfOverlay() публичный Метод

Retrieves a specified image from the list of images used as overlay masks.
public GetIndexOfOverlay ( int overlayIndex ) : int
overlayIndex int A value of type int that contains the one-based index of the overlay mask.
Результат int

ImageList() публичный Метод

public ImageList ( ImageListSize size ) : BExplorer.Shell.Interop
size ImageListSize
Результат BExplorer.Shell.Interop