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. Image for the cookie policy date

Header Template For Dynamic/Static Added Document

Hi, 

   I need to show more details to my Document Header from view model which can be changed at run time. Is Docking Manager and Tab Control Capable Of Doing This  ? Please guide me to achieve this . The Additional Information can be an UI Element like button or Image which could be bind to an event in viewmodel , So I am looking for a facility like adding a datatemplate to header template.

1 Reply

MA Muthukumar A Syncfusion Team April 27, 2015 02:32 PM UTC

Hi Mahesh,

Thanks for contacting Syncfusion support.

Since DockingManager is not an ItemsControl we can't change HeaderTemplate dynamically using Binding. But our TabControlExt will support this and please have the sample for the same from below location.

Sample link :
TabControlExt_F118928.zip


Edit the textbox in content area of TabControlExt and observe the changing of Header of TabItemExt.

Please let us know in case of any other queries.

Regards,
Muthukumar A

Loader.
Up arrow icon