When I use the dockmanager with contentpanes, there are multiple layers of margins that I see, which i want to get rid of..
Any ways to get rid of those? Pls. see the attached screenshot..
Hello cinfra,
you could create style for ContentPane that will look like this:
<Style x:Key="CustomContentPane" TargetType="ig:ContentPane">
<Setter Property="Padding" Value="0"></Setter>
</Style>
You should apply that style to every ContentPane, which padding you would like to remove.
According to the border that you are seeing between different ContentPanes, do you really want to get rid of it, because it is made to show users, that they could resize different ContentPanes just by dragging it.
Thanks that got rid of the padding inside of the contentpanes...
I agree that the space outside of the contentpane is a visual cue to the user to indicate that he can resize.. but what about the spaces on the top and bottom... We would want to eliminate them as they are not resizable..