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.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

108900 May 20,2013 02:14 AM Jul 8,2014 05:53 AM WPF 2
loading
Tags: Tools
Qihhh
Asked On May 20, 2013 02:14 AM

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
<syncfusion:DockingManager.DocumentTabItemStyle>

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

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

</Style>

</syncfusion:DockingManager.DocumentTabItemStyle>

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


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

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.

Regards,
Muthalagu




CloseButtonStyleInDockingManager_523c3fbb.zip

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

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

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.

;