Skip to main content

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

Draws the image.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v23.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