Hi,
I am not able to add an Icon in the header of a content pane. When setting the image property of the content pane, the icon appears only in the tabheader.
Is there a way to have the icon shown in the header too? or to customize the header in order to add whatever content I want to put in?
Thank you,
Alexis
Microsoft provides a lot of documentation about creating templates. I don't know how you want to customize the header but you should take a copy of the default template we ship with the product (e.g. look for a Style whose TargetType is igDock:PaneHeaderPresenter in the dockmanager generic xaml), modify it as fits your needs and put that modified style into the Resources of the ContentPane that you want to modify.
Hi Andrew,
Could you please tell me the name of the file which could be used to customize the PaneHeaderPresenter? It will be great if you could briedly mention the steps to customize the paneheaderpresenter as well.
Thanks,
Nihar.
Excellent,
Thank you its working,
I used the data template you gave me, just needed to set the mode to FindAncestor.
I don't have samples of these but they should be relatively easy to do. For customizing the PaneHeaderPresenter you can use the default xaml that we ship in the DefaultStyles folder as a starting point. For the other, you're just defining a DataTemplate that contains an Image and text.
Thanks for the tips, is it possible for you to build a simple example containing both proposed solutions?