How to set TabStripContainerBackgroundFill ?

Docking/MDI for Windows Forms Forum

Posted 17 years ago by Bravo_Kernel
Version: 2.0.74
Avatar
Lo crowd,

I am testing the Tabstrip component (.Net 1.1) right now and must say that I am hiighly impressed. However, before I buy I need to solve one last issue:

Can the Renderer-properties for TabStripContainerBackgroundFill be set programmatically and if so how?

FYI I need this to blend the tabs into an image that is placed right above the TabStrip component. This works really nice from within the IDE but because the image is variable I can't rely on that.

TIA,

Bravo

Comments (3)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes, you just need to cast to the appropriate renderer like this for example:
((VisualStudio2005ToolWindowTabStripRenderer)tabStrip.RendererResolved).TabStripTabContainerBackgroundFill = new ImageBackgroundFill(image, ImageBackgroundFillStyle.Tile);
[Modified at 11/01/2006 05:58 PM]


Actipro Software Support

Posted 17 years ago by Bravo_Kernel
Avatar
Thanks for the quick reply.

What are my chances on getting a VB example?
Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
I believe that would be this:
CType(tabStrip.RendererResolved, VisualStudio2005ToolWindowTabStripRenderer).TabStripTabContainerBackgroundFill = New ImageBackgroundFill(Image, ImageBackgroundFillStyle.Tile)


Actipro Software Support

The latest build of this product (v24.1.0) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.