skining and title bars

niteshravi
Posts: 2
Joined: 2007-05-21

how hard is it to skin the task pane and title bar? can you create a title bar that can be swapped out??

my application calls for multiple title bars during the application and we need more than just a title bar skin style like the Panel offers.

cheers

Comments
Teoti
Posts: 172
Joined: 2006-09-04

All subclasses of the PaneFX come with a barRenderer property that is typed IFactory. This allows you at any time to swap out a bar(titlebar) with any other titlebar that implements the ITitleBarControl interfaces.

This also means that you can take your skinning into the actual titlebar class and not worry about it through the pane instance if you wish to use more than on title bar during an application's life time.

The PaneFX class also gives you styles to interact with the titlebar on an outside level as well. You can set the styleName of the bar and it's titleStyleName property as well.

So you really have an inside and outside option of how to skin and style a title bar.

The titleBarckgroundSkin is not available in the PaneFX class, you will just follow the guidelines as mentioned above.

Mike

Privacy Policy | Copyright Notice| Disclaimer| Product EULA
©2003-2008 Teoti Graphix, LLC - All rights reserved.