Skip to main content

DXImageHelper.GetImageSource(String) Method

Retrieves the specified image from the library.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public static ImageSource GetImageSource(
    string path
)

Parameters

Name Type Description
path String

A full path to an image in the library.

Returns

Type Description
ImageSource

An ImageSource object that is the retrieved image.

Remarks

Refer to the DevExpress Image Gallery topic to learn more.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetImageSource(String) method.

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.

See Also