Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Draws the image.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

public static void DrawImageListImage(
    GraphicsCache cache,
    Image image,
    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.

image Image

The Image to draw.

images Object

An object that represents the image source. This parameter is in effect if the image parameter is null.

index Int32

An integer value that identifies the image within the collection. This parameter is in effect if the image parameter is null.

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