Hi,
I am trying to define an alternative dock renderer, so I can create a couple of different options for 'skins' and easily use different ones in different parts of my program, however my code doesn't work!!
Here I am trying to set the toolbar window's tab pane to be black, so it can go on my black form. I'd rather not do this with the designer, and realise I could do it in code elsewhere, but I'd quite like to figure this out:and then in my form I use:
Do I maybe need a constructor for this?
I am trying to define an alternative dock renderer, so I can create a couple of different options for 'skins' and easily use different ones in different parts of my program, however my code doesn't work!!
Here I am trying to set the toolbar window's tab pane to be black, so it can go on my black form. I'd rather not do this with the designer, and realise I could do it in code elsewhere, but I'd quite like to figure this out:
using System;
using System.Collections.Generic;
using System.Text;
using ActiproSoftware.Drawing;
namespace ActiproSoftware.UIStudio.Dock
{
public class ChameleonGraphicRenderer : Office2003VisualStudio2005Beta2DockRenderer
{
new public SolidColorBackgroundFill AutoHideTabStripPanelBackgroundFill {
get { return new SolidColorBackgroundFill(System.Drawing.Color.Black); }
set { } // Would rather be able to access parent set, can I just omit this?
}
}
}
this.dockManager1.DockRenderer = new ActiproSoftware.UIStudio.Dock.ChameleonGraphicRenderer();