The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I've got a stacked GroupBar control with icons in the GroupBarItems. I would like the header to show the corresponding icon when the Item is selected, not just the text. How can I achieve this? Thanks -Andy
PRPurusothaman R Syncfusion Team October 31, 2006 01:30 AM UTC
Hi Andy,
Currently it;s not possible to have an Icon in the GroupBar Header. Because by the design of GroupBar, the Header is not a Control. Its just a painted area.
I will forward this to the development team to implement your request as an feature.
So as an work around, place a PictureBox over the desired area of the GroupBar header. Set the SizeMode to "StretchImage" and bring it to the Top over the Groupbar. Now you can assign the Icon of the selected GroupBarItem to the PictureBox in the "GroupBarItemSelected" event.
Thanks for using Syncfusion Products.
Thanks, Purusothaman.R
AJAndy JohnsNovember 1, 2006 09:59 PM UTC
Adding it as a built-in feature would be great.
I've resolved the issue for now by subclassing the GroupBar control, and overriding the DrawStackedGroupBar method to add in a bit of code to draw the selected GroupBarItem's icon before the header text.
Thanks -Andy
MJMano J Syncfusion Team November 1, 2006 10:43 PM UTC
Hi Andy,
Thanks for the update. We can make it as a feature in the future releases.