Skip to main content
All docs
V24.1

DXImageExtension Class

Allows you to use .png/.svg images from the DevExpress.Images.v24.1 assembly as an ImageSource.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public class DXImageExtension :
    DXImageExtensionBase

Remarks

Use the DevExpress Image Picker tool to see images included in the DevExpress.Images.v24.1 assembly and copy their paths/names to the clipboard.

The following code sample uses Image controls to display images from the DevExpress.Images.v24.1 assembly:

<Window ...
    xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core">
    <Grid>
        <Image Source="{dx:DXImage 'Images/Actions/Close_32x32.png'}" Height="32"/>
        <Image Source="{dx:DXImage 'SvgImages/Align/AlignHorizontalCenter.svg'}" Height="32"/>
        <Image Source="{dx:DXImage Image='Apply_32x32.png'}" Height="32"/>
    </Grid>
</Window>

The following code snippets (auto-collected from DevExpress Examples) contain references to the DXImageExtension class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
MarkupExtension
DevExpress.Xpf.DXBinding.DXMarkupExtensionBase
DevExpress.Xpf.Core.DXImageExtensionBase
DXImageExtension
See Also