Hello,
I am attempting to modify the ContentPane so that when it is docked within a TabGroupPane it's header is never visible or if it is the only child in a PaneToolWindow it's header is visible.I have browsed through the source for the ContentPane and tracked down the 'OnPaneLocationChanged' and "VerifyHeaderVisiblity', these two functions being internal or private means that there is no way for me to modify the functionality by extending the class.
Is there some way in which I can achieve the desired effect without having to modify the DockManager assembly's source that i may be overlooking?
-Peter
Hi grapentin,
If I've understood your requirement properly, you need to hide the UnpinnedTabArea. To achieve this you may use a style like the following one:
<igDock:XamDockManager.Resources>
<Style TargetType="igDock:UnpinnedTabArea">
<Setter Property="Visibility" Value="Collapsed" />
</Style>
</igDock:XamDockManager.Resources>
Hope this helps.
Hi, I'm not sure if this is the same question...
I have a single ContentPane on the right of the screen. It is opened ("flyout") by a button on the form. I'd like to hide the vertical tab that appears when the pane is not pinned. I had a look at the generic PaneTabItem style but I'm not sure how to proceed, so your assistance would be appreciated.
Thanks
Hello Peter,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
If this is what you were looking for please verify the answer so it helps other users as well.
Sincerely,Petar MonovDeveloper Support EngineerInfragistics Bulgariawww.infragistics.com/support
I have been looking into your issue and though you can use the PaneLocation property to verify whether the pane is tabbed there is no exposed functionality whether to show/hide its header. You can do this by creating a style for the PaneTabItem with a DataTrigger that would set the HeaderTemplate or Header property.
Please let me know if you require any further assistance on the matter.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support