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.

WPF TreeViewAdv MultiColumn programmatically

Thread ID:

Created:

Updated:

Platform:

Replies:

115943 Mar 3,2014 09:43 AM Mar 11,2014 08:26 AM WPF 1
loading
Tags: TreeViewAdv
Daniel Gieseler
Asked On March 3, 2014 09:43 AM

Hi,

i have to fill a TreeView programmatically, with enabled MultiColumns and without binding.

Is there any way to display the column-values of a TreeViewItemAdv in the corresponding column of the TreeView without using DataBinding (without DisplayMemberBinding on Header/Dataobject)?

Is the DisplayMemberBinding the only way to tell the TreeView to display the needed valus for each colum?

Best regards,
Daniel

Berkunath A [Syncfusion]
Replied On March 11, 2014 08:26 AM

Hi Daniel,

 

Thank you for contacting Syncfusion support.

 

We have prepared a sample that tries to meet your requirement. In this we have modify the CellTemplate for TreeViewColumn and you can customize the header for each column of TreeViewItem by CellTemplate as per your requirement. We have attached the sample. Please have a look at the sample and let us know if it helps you.

 

If we have misunderstood your requirement, please update us with more information about requirement.

 

Regards,

Berkunath A


Attachment: MultiColumnTreeViewAdvSample_b189e4ed.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.

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.

;