We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Styling Docked and Un-Docked windows

Thread ID:

Created:

Updated:

Platform:

Replies:

67356 Aug 15,2007 08:32 AM Oct 4,2007 12:51 PM WPF 5
loading
Tags: Tools
paul.humphreys
Asked On August 15, 2007 08:32 AM

I need to "brand" the windows in both docked and undocked mode. Is there a way to apply a style or a datatemplate to the header (or any aspect of) the dockable window?

Thanks,

Paul

Venugopal M [Syncfusion]
Replied On August 16, 2007 07:37 AM

Hi Paul,

Yes. You can maintain different styling mechanism for different state of dock window using DockStateChanged event. As per the current version, DockingManager have ability to customize the dock window HeaderTemplate, MenuButton and CloseButton template's. Please have a look into the attached sample for more idea. In the attached sample we are maintaining different style's for docked state and floating state of the dock window. Left side dock window have ability for different style. But Right side dock window style is default. Like this you can do with any dockable windows.

Next version of the DockingManager have ability for complete customization such as docking header container style, tab container style, dock window container style, tab caption style and etc. Using this customization support you can create your own visual look and feel of the docking manager like vista glass effect.

Please let me know if you have any questions.

Thanks,
Venugopal.




DockingStyle.zip

paul.humphreys
Replied On August 16, 2007 03:11 PM

Thanks Venugopal. However, when I try to download the sample, it keeps bringing me to the Syncfusion support page. Can you send it to my email?

Also, is there a way to supress the behavior for the last pane in the DockManager? I have 4 dockable windows that I'd like to take up the entire overall window, but the last panel I define always comes up non-dockable!

Thanks again for your help.

Paul

Venugopal M [Syncfusion]
Replied On August 17, 2007 12:55 AM

Hi Paul,

Sorry for the inconvenience. Please try with this sample.

As per the WPF ContentPresenter concept docking manager should have a client area for hosting actual application content. So final content of the docking manger should activate as a client area. If you want activate all your four pane as a dock window means, please add one more empty pane as a final child of docking manager.

For example:






--client area pane. It may be any container or control. for instance StackPanel,DockPanel, etc.


Please let me know if you have any questions.

Thanks,
Venugopal.

DockingStyle.zip

paul.humphreys
Replied On October 4, 2007 07:17 AM


Hi Venugopal,

I was wondering when the BETA version that contains custom templating of nearly all aspects of dockable windows will be available. I'm getting to the point where I will have to make a decision as to going forward with Syncfusion or setting up a team to develop our own solution.

Thanks,

Paul

Venugopal M [Syncfusion]
Replied On October 4, 2007 12:51 PM

Hi Paul,

We are glad to inform this to you. Next beta of Essential Studio WPF Tools will be available on October 12, 2007. This version will meet all your requirements and some more great features will be available.

Thanks for the interest in Syncfusion products.

Please let me know if you have any questions.

Thanks,
Venugopal.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;