Skip to main content
All docs
V24.1

DXImageExtension.ImagePath Property

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

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.1.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.1 assembly.

Remarks

Use the DevExpress Image Picker tool to see images included in the DevExpress.Images.v24.1 assembly and copy their paths 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"/>
    </Grid>
</Window>
See Also