FloatWindow with custom Header

Hi,

I'm already using the DockingManager's FloatWindowTemplate property to create a customized FloatWindow that has a ribbon at the top.
Is there also a way to customize the text that is displayed in the header of FloatWindows?
By default, the text always shows the name of the control, which is okay. But if there is more than one control in a single FloatWindow, the header of the FloatWindow doesn't display any text at all. In this case, I'd like the FloatWindow's header to display the name of my application.

How would I achieve such a behavior?
I already thought of creating a template for FloatWindowBorder's that have the property BorderMode set to Header... but how would such a Template look?

Kind Regards
Etienne Gubler

3 Replies

DR Durga Rajan Syncfusion Team November 3, 2017 03:54 PM UTC

Hi Etienne Gubler, 

Thanks for contacting Syncfusion support. 

Currently Float window of DockingManager does not have support to display the header of the float window if more than one DockedElementTabbedHost is present in the container. We have prepared sample using IValueConverter which will return the header of the ActiveWindow. Please download the sample for the same from below location, 


Note: After dropping the child to the float window, we need to explicitly click the child once to activate it.  

Regards, 
Durga S. 



EG Etienne Gubler November 14, 2017 09:04 AM UTC

Dear Syncfusion Team,

Thank you for providing the detailed sample.

I was able to solve my problem and achieve the desired behavior using the code from your sample.

Kind Regards

Etienne Gubler



DR Durga Rajan Syncfusion Team November 15, 2017 05:37 AM UTC

Hi Etienne,

We are glad to know that your issue has been solved. Please let us know if you need any further assistance.

Regards,
Durga S.

Loader.
Up arrow icon