Hi
How can i left-align the text within a PaneTabItem?
https://www.dropbox.com/s/0sbu22k30twc05c/TabTextAlignment.jpg
Best regards,
Rune
Hi,
Any idea?
I have tried to set the HorizontalAlignement/HorizontalContentAlignment on the PaneTabItem, but that does not seem to work. When snooping the visual tree I can manage to get this working if i set the HorizontalAlignment on the PanTabItem.Background.TabbedDocumentTab.Content.
Do I really have to replace the entire Control Template to get this working or am I missing something?
Hello Rune,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking into it and I can say that the one approach is to copy the default Style of the PaneTabItem and set the HorizontalAlignment of the Border called “Content”. The other thing you can do is create a Style for the PaneTabItem and add EventSetter for the Loaded event and in the handler you can set the same Property. I attached a sample showing how to do so. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.