Skip to main content

GraphicsCache.DrawIcon(Icon, Int32, Int32) Method

Draws the image represented by the specified Icon at the specified coordinates.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

public void DrawIcon(
    Icon icon,
    int x,
    int y
)

Parameters

Name Type Description
icon Icon

Icon to draw.

x Int32

The x-coordinate of the upper-left corner of the drawn image.

y Int32

The y-coordinate of the upper-left corner of the drawn image.

See Also