How to get icons from the DX Image Gallery
By Tan Lee Published on Oct 23, 2024 367
To access an image from the DX Image Gallery, you can follow these steps.
You can get these images by using DevExpress.Images.ImageResourceCache
class. Using the static method DevExpress.Images.ImageResourceCache.Default.GetImage
to retrieve images programmatically from the gallery.
How to access an image from DX Image Gallery?
C#
Image img = DevExpress.Images.ImageResourceCache.Default.GetImage("images/edit/delete_16x16.png");
VB.NET
Dim img As Image = DevExpress.Images.ImageResourceCache.Default.GetImage("images/actions/cancel_16x16.png")
Ensure you have the necessary DevExpress.Images libraries referenced in your project.
In this case, you can retrieve images by their names using the corresponding ToolTip.
- Deserialization from CodeDOM format is unsafe and has been disabled
- How to Download and Install DevExpress
- How to Create a Fluent Design Form in C#
- How to create a SplashScreen in C#
- How to use DevExpress Themes/Skins in C#
- How to use Layout Control in C#
- How to Print Invoice in C#
- How to use Ribbon Control in C#
Categories
Popular Posts
11 Things You Didn't Know About Cloudflare
Dec 19, 2024
Gentella Admin Template
Nov 14, 2024
tsParticles Authentication Template
Nov 11, 2024
Material Lite Admin Template
Nov 14, 2024