Hi,
I have the following XAML for a ContentPaneFactory.
<igExtensions:ContentPaneFactory.PaneFactory> <igExtensions:ContentPaneFactory ContentPath="." HeaderPath="Header" TabHeaderPath="Header" RemoveItemOnClose="True" ItemsSource="{Binding CompositeVMCollection}" > </igExtensions:ContentPaneFactory></igExtensions:ContentPaneFactory.PaneFactory>
How can I style the Header ( Margin, Font, Padding, Color etc)?
Hi BM,
You should have access to the code for ContentPaneFactory as this was provided in a blog post. The ContentPaneFactory is responsible for associating ContentPanes with the ItemsSource items so you can add a property to this factory that will hold your ContentPane style/template. Then in the PrepareContainerForItem method inside ContentPaneFactory, you can apply the style/template to the ContentPane.
Keep in mind that the ContentPane does not have a HeaderStyle property. It has a HeaderTemplate and a TabHeaderTemplate which you can use to provide your own UI for the header.