windowsforms-devexpress-dot-utils-ee6bba67.md
The enumeration specifies the size of images being displayed within an object, when images are obtained from a SharedImageCollection.
Namespace : DevExpress.Utils
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
public enum SharedImageCollectionImageSizeMode
Public Enum SharedImageCollectionImageSizeMode
| Name | Description |
|---|---|
UseCollectionImageSize |
The size of an image being displayed by an object is determined by the ImageSize property of the bound SharedImageCollection.
|
| UseImageSize |
The size of an image being displayed by an object is determined by the size of the corresponding Image item in the bound SharedImageCollection.
|
The following properties accept/return SharedImageCollectionImageSizeMode values:
When a control displays images from a SharedImageCollection, the display size of images can be specified by the control’s SharedImageCollectionImageSizeMode property.
If this property is set to UseCollectionImageSize , all displayed images will be the size specified by the SharedImageCollection ‘s ImageSize property. If the SharedImageCollectionImageSizeMode property is set to UseImageSize , displayed images can be of different sizes. The size of each individual image is determined by the size of the corresponding Image object in the bound SharedImageCollection.
See Also
BarManager.SharedImageCollectionImageSizeMode