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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

can i set the CloseButton style in a document window of dockingpanel?

Thread ID:





108900 May 20,2013 06:14 AM UTC Jul 8,2014 09:53 AM UTC WPF 2
Tags: Tools
Asked On May 20, 2013 06:14 AM UTC

Hi syncfushion team,
 when I use Metro style, then I open a document window in dockingPanel, I set DocumentCloseButtonType = "both", I want highlight or do some changes in the CloseButton when the mouse over it, how can I do this?
(I know when i use below code can change all tabItem style

<Style TargetType="{x:Type syncfusion:TabItemExt}">

<Setter Property="Background" Value="Green" />



but I just only want change the CloseButton for highLight it when mouse over....)

Muthalagu M [Syncfusion]
Replied On May 30, 2013 06:05 AM UTC

Hi Qihhh,

Thank you for using Syncfusion Products and Sorry for the delay in getting back to you.

Currently it is not possible to set something on close button in Document window which is present in Docking Manager by directly, but it is possible by some workaround.

We have prepared a work around sample for your requirement and you can download the sample from the attachment.

In this sample, we have modified the CloseButtonTemplate for both Selected and UnSelected tabitems in Document Window. Then modified templates are used in DocumentTabItemStyle, because that style is needed for changing the behavior of TabItems in Document Window.

Please let us know in case of any queries.



rajan kumar singh
Replied On July 8, 2014 09:53 AM UTC

   Attached Sample Code is not able to download..giving corruption error. Please attach the sample code


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon