Back to Devexpress

ImageInfo.Image Property

expressappframework-devexpress-dot-expressapp-dot-utils-dot-imageinfo.md

latest2.9 KB
Original Source

ImageInfo.Image Property

The image whose metadata is stored in this ImageInfo object.

Namespace : DevExpress.ExpressApp.Utils

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public DXImage Image { get; }
vb
Public ReadOnly Property Image As DXImage

Property Value

TypeDescription
DXImage

The image whose metadata is stored in this ImageInfo object.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Image property.

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.

xaf-how-to-create-information-panels/CS/InfoPanels.Module.Win/MainForm.cs#L23

csharp
protected virtual void InitializeImages() {
    barMdiChildrenListItem.Glyph = ImageLoader.Instance.GetImageInfo("Action_WindowList").Image;
    barMdiChildrenListItem.LargeGlyph = ImageLoader.Instance.GetLargeImageInfo("Action_WindowList").Image;

xaf-how-to-create-information-panels/VB/InfoPanels.Module.Win/MainForm.vb#L31

vb
Protected Overridable Sub InitializeImages()
    barMdiChildrenListItem.Glyph = ImageLoader.Instance.GetImageInfo("Action_WindowList").Image
    barMdiChildrenListItem.LargeGlyph = ImageLoader.Instance.GetLargeImageInfo("Action_WindowList").Image

See Also

Add and Replace Icons

ImageLoader

ImageInfo Struct

ImageInfo Members

DevExpress.ExpressApp.Utils Namespace