Skip to main content
All docs
V26.1
  • DXImageExtension Class

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

    Namespace: DevExpress.Xpf.Core

    Assembly: DevExpress.Xpf.Core.v26.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.v26.1 assembly and copy their paths/names to the clipboard.

    The following code sample uses Image controls to display images from the DevExpress.Images.v26.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>
    

    Inheritance

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