Skip to main content

ImageCollection.DrawImageListImage(GraphicsCache, Object, Int32, Rectangle, Boolean) Method

Draws the image.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public static void DrawImageListImage(
    GraphicsCache cache,
    object images,
    int index,
    Rectangle bounds,
    bool enabled
)

Parameters

Name Type Description
cache GraphicsCache

A GraphicsCache object that provides storage for pens, fonts and brushes used when painting.

images Object

An object that represents the image source.

index Int32

An integer value that identifies the image within the collection.

bounds Rectangle

A Rectangle structure that specifies the bounding rectangle of the image.

enabled Boolean

true to draw an image in enabled state; otherwise, false.

Remarks

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

See Also