src/Misc/EFTools/DesignXmlCore/Base/Shell/TreeGridDesignerTreeControl.cs
/// <summary>
///     Override the header control creation so we can style it
/// </summary>
/// <returns>A new header control</returns>
Override the header control creation so we can style it
Override the header control creation so we can style it
protected override VirtualTreeHeaderControl CreateHeaderControl()
        {
            var headerControl = base.CreateHeaderControl();
            var uiShell5 = Site.GetService(typeof(SVsUIShell)) as IVsUIShell5;
            if (uiShell5 != null)
            {
                uiShell5.ThemeWindow(headerControl.Handle);
            }
            return headerControl;
        }
protected override VirtualTreeHeaderControl CreateHeaderControl ( ) { var headerControl = base . CreateHeaderControl ( ) ; var uiShell5 = Site . GetService ( typeof ( SVsUIShell ) ) as IVsUIShell5 ; if ( uiShell5 != null ) { uiShell5 . ThemeWindow ( headerControl . Handle ) ; } return headerControl ; }
Override the header control creation so we can style it
Override the header control creation so we can style it
// Theme the header control with shell colors
A new header control
A new header control