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.

Add Custom Caption Button

Thread ID:

Created:

Updated:

Platform:

Replies:

120046 Aug 26,2015 11:21 AM Jan 14,2016 11:53 PM WPF 3
loading
Tags: DockingManager
Maduranga Gunasekara
Asked On August 26, 2015 11:21 AM

Hi,

I'm using syncfusion docking manager and i want to add custom caption button to my floating/dockable window. i found solution for WinForms, but i can't add it to WPF project.
Please help.

Thanks.
Maduranga.

Victory Jessie Selvam D [Syncfusion]
Replied On August 27, 2015 08:31 AM

Hi Maduranga,

Thank you for using Syncfusion products.

We can add buttons in the header of child window using HeaderTemplate property. We have prepared a sample and tried to meet your requirement. In the sample, we have created a data template with button and set it as header template of child window using HeaderTemplate attached property. You can download the sample from the following link:
Sample: Docking_HeaderTemplate

Please let us know if you need further assistance on this.

Regards,
Jessie

Maduranga Gunasekara
Replied On January 14, 2016 01:46 AM

Hi,

Thanks for reply.

Is it possible to apply HeaderTemplate to NativeFloatWindow?

Thanks.
Maduranga.

Berkunath A [Syncfusion]
Replied On January 14, 2016 11:53 PM

Hi Maduranga,

Thank you for your update.

We can change the Header of NativeFloatWindow by applying NativeFloatWindowStyle. We have prepared the sample that tries to meet your requirement. In this sample we have modified the header of NativeFloatWindow by change the Header part in NativeFloatWindowStyle. We have added the Style "NativeFloatwindowHeader" with TargetType ContentControl. You can customize the header as per your requirement by change the style "NativeFloatwindowHeader" in this sample. You can download the sample from the following link.

Sample: Docking_HeaderTemplate

Please let us know if you need further assistance on this.

Regards,
Berkunath A

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.

;