.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ImageLoader Members

Manages images used in an XAF application.

Fields

Name Description
DialogImageSuffix Specifies the image suffix for images used in dialog windows (see Add and Override Images).
DisabledSuffix
LargeImageSuffix Specifies the image suffix for large images (see Add and Override Images).
SmallImageSuffix Specifies the image suffix for images used by ASP.NET Web Property Editors (see Add and Override Images).
ThemeImagesFolderKey For internal use only.

Properties

Name Description
ImagePickerMode Specifies the Image Picker's initial tab (see Add and Override Images).
ImageSources Provides access to the image sources used by the ImageLoader.
Instance static Provides access to the ImageLoader instance.
IsDesignMode For internal use.
IsInitialized static Indicates whether the ImageLoader is initialized.
LoadFromDevExpressImages For internal use only.
UseSvgImages Enables SVG images in WinForms applications.

Methods

Name Description
ClearCache() Empties the ImageLoader's image cache.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetDialogImageInfo(String) Supplies metadata on an image used in dialog windows.
GetDialogImageInfo(String, Boolean) Supplies metadata on an image used in dialog windows.
GetDialogImageInfo(String, Boolean, String) Supplies metadata on an image used in dialog windows.
GetDialogImageInfo(String, String) Supplies metadata on an image used in dialog windows.
GetEnumValueImageInfo(Object) Supplies metadata on the image associated with an enumeration value.
GetEnumValueImageInfo(Object, String) Supplies metadata on the image associated with an enumeration value.
GetEnumValueImageInfo(Type, Object) Supplies metadata on the image associated with an enumeration value.
GetEnumValueImageInfo(Type, Object, String) Supplies metadata on the image associated with an enumeration value.
GetEnumValueImageName(Object) Returns the name of the image associated with an enumeration value.
GetEnumValueImageName(Type, Object) Returns the name of the image associated with an enumeration value.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetImageInfo(String) Supplies metadata on a standard-sized image.
GetImageInfo(String, Boolean) Supplies metadata on a standard-sized image.
GetImageInfo(String, Boolean, String) Supplies metadata on a standard-sized image.
GetImageInfo(String, String) Supplies metadata on a standard-sized image.
GetLargeImageInfo(String) Supplies metadata on a large image.
GetLargeImageInfo(String, Boolean) Supplies metadata on a large image.
GetLargeImageInfo(String, Boolean, String) Supplies metadata on a large image.
GetLargeImageInfo(String, String) Supplies metadata on a large image.
GetSmallImageInfo(String) Supplies metadata on an image used by ASP.NET Web Property Editors.
GetSmallImageInfo(String, Boolean) Supplies metadata on an image used by ASP.NET Web Property Editors.
GetSmallImageInfo(String, Boolean, String) Supplies metadata on an image used by ASP.NET Web Property Editors.
GetSmallImageInfo(String, String) Supplies metadata on an image used by ASP.NET Web Property Editors.
GetType() Gets the Type of the current instance. Inherited from Object.
Init(ImageSource[]) static Initializes the ImageLoader.
LoadFromFullResource(Assembly, String) Retrieves an image stored as a resource in an assembly.
LoadFromResource(Assembly, String) Retrieves an image stored as a resource in an assembly.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() static Resets the ImageLoader.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
CustomGetImageInfo static Occurs before image metadata is loaded.
CustomizeImageInfo Occurs when image metadata is retrieved via the ImageLoader's Get...ImageInfo methods. Allows you to customize the metadata.
CustomizeImageSourceImageInfo Occurs when image metadata is retrieved from ImageSource via the ImageLoader's Get...ImageInfo methods. Allows you to customize the metadata.
Initialized static
See Also