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

Document not being shown in TDI mode

Thread ID:

Created:

Updated:

Platform:

Replies:

123553 Mar 30,2016 11:05 AM UTC Apr 1,2016 01:43 PM UTC WPF 4
loading
Tags: DockingManager
Ryan Archibald
Asked On March 30, 2016 11:05 AM UTC

Hi There

I have a project that has a docking manager. I have windows docked on the side which work fine with a treeview inside one of them. My problem is I also have 2 documents and neither of them are being displayed and I don't know why at all, can anyone please help me on that problem and my other problem is in the treeviewitems I want the headers to have a template of icon checkbox and textblock which I can achieve however when I try to ahve the item expanded it doesn't work and I got no Icon to be allowed to expand.

If I can get help on these issues that would be great

Thanks

Ryan

Attachment: CS_79de6969.zip

Marimuthu Sivalingam [Syncfusion]
Replied On March 31, 2016 12:13 PM UTC

Hi Ryan,

Thank you for using Syncfusion Products,

Query#1:My problem is I also have 2 documents and neither of them are being displayed and I don't know why at all.

To have the document children in the DockingManager, we need to set the UseDocumentContainer property as True.


Query#2: I want the headers to have a template of icon checkbox and textblock which I can achieve however when I try to have the item expanded it doesn't work and I got no Icon to be allowed to expand.

We have edited the template of Treeview by adding CheckBox and TextBox in the TreeView Header which is in the Input DockingChild of your sample. Similarly you can edit the header of TreeviewItems. Please download the modified sample from the following location:

Sample: CS_79de6969_Modified

Regards,
Marimuthu S.

Ryan Archibald
Replied On March 31, 2016 12:39 PM UTC

Hi

Thanks very much for your help, however I'm having a problem with the highlighted color it's black just now with the documents but I need it to be my "{DynamicResource selectedHeaderBackground}" when selected and the "headerBackground" when it isn't can you help me out with this please?

Thanks 

Ryan

Ryan Archibald
Replied On March 31, 2016 12:40 PM UTC

Attached is the document contained example I have

Attachment: CS_(2)_1e3e2d5d.zip

Rajkumar Ganesamoorthy [Syncfusion]
Replied On April 1, 2016 01:43 PM UTC

Hi Ryan,

Thank you for your update.

We are unable to run your attached sample that have missed resource reference, so we have removed missed resource reference and we have modified the sample that tries to meet your requirement.  In this sample we have bind the selectedHeaderBackground as DynamicResource to TabItemSelectedBackground and TabItemHoverBackground. And we have bind the headerBackground as DynamicResource for TabItem Background by applying style named MyTabItemExtStyle to attached property DocumentTabItemStyle to DockingManager child. You can find the sample from the attached document.

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

Regards, 
Marimuthu S.

Attachment: TabItemBackground_e3b0e2f0.zip

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.

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

;