Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXImageExtension.ImagePath Property

Gets or sets the path to a displayed .png/.svg image.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

[ConstructorArgument("pathInfo")]
public DXImagePathInfo ImagePath { get; set; }

#Property Value

Type Description
DevExpress.Xpf.Core.DXImagePathInfo

The path to an image in the DevExpress.Images.v24.2 assembly.

#Remarks

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

The following code sample uses Image controls to display images from the DevExpress.Images.v24.2 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"/>
    </Grid>
</Window>
See Also