How to get icons from the DX Image Gallery
By FoxLearn 10/23/2024 4:29:28 AM 134
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.
Categories
Popular Posts
Dashboardkit Bootstrap
11/13/2024
Horizon MUI Admin Dashboard Template
11/18/2024
AdminKit Bootstrap 5 HTML5 UI Kits Template
11/17/2024
Portal HTML Bootstrap
11/14/2024