Skip to main content
A newer version of this page is available. .

DXImageHelper.GetImageUri(String) Method

Returns a Uri that defines the specified image’s location.

Namespace: DevExpress.Xpf.Core

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

Declaration

public static Uri GetImageUri(
    string path
)

Parameters

Name Type Description
path String

A full path to an image in the library.

Returns

Type Description
Uri

A Uri object that contains a Uri to the image.

Remarks

Refer to the DevExpress Image Gallery topic to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetImageUri(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