This project is read-only.

Tab header and Caliburn Micro


I have a tab control bound using Caliburn.Micro's conventions -
<TabControl x:Name="Items"  />
And they are added to the Items collection by doing
ActivateItem(new Screen(){DisplayName = "Something" });
But when the tabs are rendered the tab header does not bind to DisplayName in the item template. It shows the full type name instead. Any workarounds?

I am going to download the source in the meantime and see if I can tweak it. Please help.


conqenator wrote Dec 17, 2013 at 1:01 PM

I was able to do this by overriding the Content binding -
But now I cannot depend on nuget updates anymore. Is there a way to override binding on specific controls' attributes? Please excuse my inexperience.

afsherman wrote Dec 21, 2013 at 2:30 PM

Try this code:

conqenator wrote Jan 8, 2014 at 12:20 PM

Aleksandr, that worked. But it should derive from Elysium's theme. So I used the BasedOn attribute -

Thanks for the help.

AlexJustin wrote Jan 19, 2014 at 2:01 PM

Hi Alex,

Using Caliburn.Micro TabControl Style performance issue in changing tab, Please add full support Caliburn.Micro.

Thanks in advance.