X - Can i reset title background and foreground?

Hi,
When I change visualstyle, I want the title to be able to reset the background but I have yet to find the code to do this. how I can?

more question 1.a: 
when I converted the visualstyle, I noticed that after a number of times .visualstylemetro was not transferred properly.
For example:
1 dockm.VisualStyle = VisualStyle.Metro
2 dockm.VisualStyle = VisualStyle.VS2005
3 dockm.VisualStyle = VisualStyle.Office2016DarkGray
4 dockm.VisualStyle = .VisualStyle.Metro (autohidetab's color display not correct! / you can check this.)

8 Replies 1 reply marked as answer

AI Anirudhan Iyyappan Syncfusion Team June 3, 2020 02:14 PM UTC

Hi The GridLock, 
 
Thank for contacting Syncfusion support. 
 
Based on your query we have prepared an sample and tried to replicate this behavior but unfortunately we are unable to replicate this behavior in our sample. For further details please further to the below sample and video. 
 
 
 
If we have misunderstood any of your query, please let us know and share some information based on your query or modify the above sample in such a way that issue replicates. Which would be helpful for us to analyze and let you a solution ASAP. 
 
Regards, 
Anirudhan. 



TG The GridLock June 3, 2020 03:46 PM UTC

Hi Anirudhan,
I will clarify my question further:
I have a combobox, it allows to change the visualstyle of dockingmanager,
There are many types of combobox that you give here:
however, after a few selections, the autohidetab not display correctly with it's visualstyle.
Also, my main question is if I change the captionbackground. then i change docking visualstyle. how do i reset this background before i have new visualstyle


TG The GridLock June 3, 2020 03:55 PM UTC

My video: metrostyle does not return to white autohidetab

Attachment: Video_200603_225314_e80f5334.rar


AI Anirudhan Iyyappan Syncfusion Team June 4, 2020 02:09 PM UTC

Hi The GridLock, 
 
Thanks for your update.

We suspect that while switching the Tabs, you would like reset the background color with respect to visual style. But as per behavior once the background color is set in the sample. we can’t remove or replace it with the Visual style. But you change the background color while switching the Visual Style in Combo box. Please refer to the sample and video for further references.
 
 
 
 
If we have misunderstood any of your query, please let us know and share some more information based on your current version of Syncfusion Dlls and Modify the above sample in such a way that issue replicates. we are happy to assist you. 
 
Regards,  
Anirudhan 



TG The GridLock June 5, 2020 07:43 AM UTC

Hi Anirudhan,( Temporarily do not customize the background color and change only visualstyle)
Note the autohidetab color (its original background color is white)
if you choose
.visualstyle.vs2005 -> .visualstyle.2016darkgray -> .visualstyle.metro (now the background color of autohidetab is gray of .visualstylewhite (not of metro)







.




AI Anirudhan Iyyappan Syncfusion Team June 5, 2020 10:02 AM UTC

Hi The GridLock, 
  
Thanks for your update 
  
We have checked your query and logged it as defect. The fix for this issue will be included in Volume 2 release which will roll out by the end of June 2020. Please refer the below feedback portal. 
  
  
Regards, 
Anirudhan 


Marked as answer

TG The GridLock June 5, 2020 09:25 PM UTC

ok Anirudhan!


AI Anirudhan Iyyappan Syncfusion Team June 8, 2020 07:53 AM UTC

Hi The GridLock,

Thanks for your update.

We will let you know once our Volume 2 is rolled out.
 
 
Regards. 
Anirudhan 


Loader.
Up arrow icon