DXMenuItem.GetImage(ISvgPaletteProvider) Method

Returns the actual raster image displayed by this DXMenuItem.

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v20.2.dll

Declaration

public Image GetImage(
    ISvgPaletteProvider palette = null
)
Public Function GetImage(
    palette As ISvgPaletteProvider = Nothing
) As Image

Optional Parameters

Name Type Default Description
palette DevExpress.Utils.Design.ISvgPaletteProvider

null

An ISvgPaletteProvider that colorizes SVG icons depending on the currently applied DevExpress skin.

Returns

Type Description
Image

An Image displayed by this DXMenuItem.

Remarks

See the How To: Draw and Use SVG Images article to learn more about SVG icons colorization.

See Also