Skip to main content
.NET 8.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 Replace Icons).
DisabledSuffix
LargeImageSuffix Specifies the image suffix for large images (see Add and Replace Icons).
SmallImageSuffix Specifies the image suffix for images used by ASP.NET Web Forms Property Editors (see Add and Replace Icons).
ThemeImagesFolderKey For internal use only.

Properties

Name Description
ImagePickerMode Specifies the Image Picker’s initial tab (see Add and Replace Icons).
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 Obsolete. For internal use only.
UseSvgImages Enables SVG images in WinForms applications.

Methods

Name Description
ClearCache() Empties the ImageLoader‘s image cache.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetDialogImageInfo(String, Boolean, String) Supplies metadata on an image used in dialog windows.
GetDialogImageInfo(String, Boolean) Supplies metadata on an image used in dialog windows.
GetDialogImageInfo(String, String) Supplies metadata on an image used in dialog windows.
GetDialogImageInfo(String) Supplies metadata on an image used in dialog windows.
GetEnumValueImageInfo(Object, String) Supplies metadata on the image associated with an enumeration value.
GetEnumValueImageInfo(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.
GetEnumValueImageInfo(Type, Object) 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, Boolean, String) Supplies metadata on a standard-sized image.
GetImageInfo(String, Boolean) Supplies metadata on a standard-sized image.
GetImageInfo(String, String) Supplies metadata on a standard-sized image.
GetImageInfo(String) Supplies metadata on a standard-sized image.
GetLargeImageInfo(String, Boolean, String) Supplies metadata on a large image.
GetLargeImageInfo(String, Boolean) Supplies metadata on a large image.
GetLargeImageInfo(String, String) Supplies metadata on a large image.
GetLargeImageInfo(String) Supplies metadata on a large image.
GetSmallImageInfo(String, Boolean, String) Supplies metadata on an image used by ASP.NET Web Forms Property Editors.
GetSmallImageInfo(String, Boolean) Supplies metadata on an image used by ASP.NET Web Forms Property Editors.
GetSmallImageInfo(String, String) Supplies metadata on an image used by ASP.NET Web Forms Property Editors.
GetSmallImageInfo(String) Supplies metadata on an image used by ASP.NET Web Forms 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.
ImageInfoLoading Occurs when an image is loading. Set the Cancel event argument to true to skip loading.
Initialized static
See Also