Unable to set color of the close buttons on a tab
Hi,
I am using the Office2016Colorful theme as my template but I seem to be unable to change the color of the close buttons on the tabs in the TabControlAdv.
Am I overlooking something? I tried setting various parameters but it never shows any difference,
Thanks for contacting syncfusion support,
We have checked the reported query that “Change the close button Back color“ from our side. We have prepared to achieve the requirement by using the ShowCloseButtonHighLightBackColor and CloseButtonBackColor property. Please find the sample and code snippet below,
Code Snippet:
|
tabControlAdv1.ShowCloseButtonHighLightBackColor = true; tabControlAdv1.CloseButtonBackColor = Color.LightYellow; |
Sample: https://www.syncfusion.com/downloads/support/forum/168419/ze/CloseButtonColor1687916913
Please try with the above sample and let me know your concerns. We are happy to assist you.
Regards,
Hi Sudharsan,
I have a bit of progress now yes, However I am not able to set the CloseButtonForeColor. It keeps resetting to 225, 225, 225.
For example, I'd like to have the ActiveTabColor just plain White with a Black 'X'
If I test something like this,
tabControl.CloseButtonBackColor = Color.Red;
tabControl.CloseButtonForeColor = Color.Black;
tabControl.CloseButtonHoverForeColor = Color.Black;
tabControl.CloseButtonPressedForeColor = Color.Black;
It does not show any effect only the CloseButtonBackColor works.
Hi Jeffrey,
Thanks for the update.
Currently, we are analyzing your requirement of “Color property not works”. We will validate and update you the details on or before 03rd September 2021.
We appreciate your patience until then.
Regards,
SudharsanWe can be able to reproduce the reported issue from our end and we have logged a bug report on this. The issue for this fix is included in NuGet on 28th September 2021. You can track the status of the issue by using below feedback link.
Feedback: https://www.syncfusion.com/feedback/28476/customized-closebutton-color-properties-are-not-working-in-tabcontroladvs
We appreciate your patience until then.
Regards,
Thanks for the patience,
We have fixed the reported issue that “Tab Close button color not reflected” from our end.
This patch which can be download from the below links.
|
Recommended approach - exe will perform automatic configuration.
Please find the patch setup from below location:
Patch link :
Please find the patch assemblies alone from below location:
Assemblies Link:
NuGet link:
|
Note: This Issue will be included in your upcoming NuGet and Main Release.
Regards,
Hi Sudharsan,
Thank you for the update and I'll install it and give it a shot when I have the time.
Sudharsan
- 7 Replies
- 2 Participants
-
JE Jeffrey
- Aug 27, 2021 02:25 PM UTC
- Sep 30, 2021 03:52 AM UTC