DPIAwareImageCollection.GetImage(Int32) Method
Returns the image stored within this DPIAwareImageCollection.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
imageIndex | Int32 | An Int32 value that specifies the returned image’s position within this DPIAwareImageCollection. |
Returns
Type | Description |
---|---|
Image | An Image stored within this DPIAwareImageCollection. |
Remarks
You can also retrieve images directly through the collection’s DPIAwareImageCollection.Images property.
barButtonItem1.ImageOptions.LargeImage = dpiAwareImageCollection1.Images[1].ImageInfo.Image;
See Also