Hi, we only have one content control under DocumentContentHost, is there a way to not show tab header?
Thanks,
Crystal.
Hello Crystal,
Thank you for your post.
I have been looking into your requirements. What I can suggest is to set the name of the ContentPane. You can use this name and in code behind you can set the visibility property of that ContentPane to Hidden or Collapsed. I created a short sample application to show how you can achieve the functionality that you want.
Please let me know if you need any further assistance on the matter.
Hi Zhivko, thank you for your quick reply. If I hide the ContentPane , the content control under ContentPane will also be hidden. I can't show my content. The Content Panel has to be within TabGroupPane? Is there a way not show Content control without inside a tab?
I was looking into your requirements and I believe the following help topic could be of assistance:
http://help.infragistics.com/Help/Doc/WPF/2014.2/CLR4.0/html/xamDockManager_About_Styling.html
Following this topic and keeping in mind that you still need the content shown I created the following template which I believe does what you need.
<ControlTemplate x:Key="{x:Static igDock:PaneTabItem.DocumentTabItemTemplateKey}" TargetType="{x:Type igDock:PaneTabItem}"> <ControlTemplate.Resources> <Style TargetType="{x:Type igDock:PaneTabItem}"> <Setter Property="Visibility" Value="Collapsed" /> </Style> </ControlTemplate.Resources></ControlTemplate>
Hope this helps.
Hi Galina, this is exactly what I need. Thank you!
I have a question with SplitPane, after I set MinWidth in it, it works when it's in Pinned location, but for Unpinned location, I can't still resize the panel width smaller than MidWidth when it's a fly out pane. Is there a way to fix this?
Crystal
Sorry, typo, I CAN still resize the panel to a width that's smaller than MidWidth when it's a fly out pane. Is there a way to fix this?
Hi Crystal,
I'm glad I helped.
Unfortunately, your second requirement currently cannot be achieved. You may refer to the following forum post where one of our senior architects - Andrew Smith, is explaining the reason for this limitation.
http://ko.infragistics.com/community/forums/t/54465.aspx
Let me know if you have further questions.
I am just checking your progress on the issue that you are having.
If you require any further assistance please do not hesitate to ask