How to get icons from the DX Image Gallery
By FoxLearn 10/23/2024 4:29:28 AM 47
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.
- How to Download and Install DevExpress
- How to use DevExpress Themes/Skins in C#
- How to use Ribbon Control in C#
- How to use DevExpress Project Converter
- How to set default font for RichEditControl
- How to Clear content in RichEditControl
- How to use CheckedComboBoxEdit with SearchControl in C#
- How to Create a Radial Menu in C#
Categories
Popular Posts
Spica Admin Dashboard Template
11/18/2024