Hi,
I'm out of ideas and exhausted with the trial and error mechanism to hide the header of a content pane.
I have a image associated with the Header so i dont want the text to be displayed next to it. But I cannot set the header property to blank, as it will result as blank button in context menu of doc manager.
Please help!
When you say header are you referring to the caption of the pane (i.e. the PaneHeaderPresenter that contains the Header and caption buttons like the close, unpin, windowposition, etc.) or the PaneTabItem that represents a pane when it is in a TabGroupPane or when it is unpinned?
The highlighted part below. Header property of the content pane. I just want the image which is associated with the 'Solution Explorer' not the Image. But I want only the text in context menu of this docmanager. Finding it very tricky to achieve.
Thanks for the help!
The highlighted part below. Header property of the content pane. I just want the image which is associated with the 'Solution Explorer' not the Image text. But I want only the text in context menu of this docmanager. Finding it very tricky to achieve.
You can just create a custom DataTemplateSelector and set the TabHeaderSelector to that. I've attached a sample that does that.
This is exactly what i wanted...! thanks a ton :)