I am currently working with the ContentPaneFactory to generate ContentPanes and display them in a TabGroupPane. The code below results in nothing rendered for this portion of the control. I know the data is there, because if I remove the TabGroupPane (i.e. just have PaneFactory inside of the SplitPane), I see multiple panes tiled with the content in place. Can anyone point me in the right direction with this problem?
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
<igDock:SplitPane Name="m_oPropertyDock"
igDock:XamDockManager.InitialLocation="DockedRight"
SplitterOrientation="Vertical"
Visibility="Visible"
Margin="0,18,5,0"
HorizontalAlignment="Stretch">
<igDock:SplitPane.DataContext>
<local:PropertyViewModel/>
</igDock:SplitPane.DataContext>
<igDock:TabGroupPane>
<igExtensions:ContentPaneFactory.PaneFactory>
<igExtensions:ContentPaneFactory ItemsSource="{Binding Path=CustomPropertyContent, Mode=OneWay}"
HeaderPath="Name"
ContentPath="Content">
<igExtensions:ContentPaneFactory.ContainerStyle>
<Style TargetType="igDock:ContentPane">
<Setter Property="AllowPinning" Value="False"/>
</Style>
</igExtensions:ContentPaneFactory.ContainerStyle>
</igExtensions:ContentPaneFactory>
</igExtensions:ContentPaneFactory.PaneFactory>
</igDock:TabGroupPane>
</igDock:SplitPane>
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Also, CustomPropertyContent is a list of objects that have two files, string Name and ContentControl Content.
Its hard to say from the snippet provided. Maybe you could post a sample that demonstrates the issue so we can debug it and see what is happening?