I am developing an add-on for SQL Server Management Studio over EnvDTE, I want to change the color of the tab based on user preferences (something like TabsStudio ) in the WindowCreated event, as shown below.
private void WindowCreated(EnvDTE.Window window)
{
}
I can not get the title bar of the options window. I tried the answers for this link , but did not get from the next line.
System.Windows.Media.VisualTreeHelper.GetChild(frameworkElement, 0);
Is this possible with the above code, or is there any other solution for this? Your ideas or suggestions would be of great help to me. Thanks in advance.
source
share