Thank you for contacting us.
Yes, our Telerik Presentation Framework
on which the RadControls
are built, allows one to use some of the HTML tags to format the visual elements. However, this is not full HTML support, but rather HTML-like means of formatting text. For more information about supported tags you can refer to this help article
As to adding an image within another, you can use the following method which does this programatically:
Image AddBorderToImage(Image mainImage)
Image finalImage = Image.FromFile(@
Graphics g = Graphics.FromImage(finalImage);
Point((finalImage.Width - mainImage.Width) / 2, (finalImage.Height - mainImage.Height) / 2 ));
Then, you can use the VisualItemFormatting
event of RadListView
to add the border to the items' images:
sender, Telerik.WinControls.UI.ListViewVisualItemEventArgs e)
e.VisualItem.Image = AddBorderToImage(e.VisualItem.Data.Image);
I hope this is useful. Feel free to ask if you have any additional questions.
the Telerik team
Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.