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..
Yes. That worked. Thanks
Hello,
Were you able to resolve your issue?
Valerie
You can modify the style for the XamDockManager to change the Margin’s Padding for any of the items in the control’s template. You can find the default style in
C:\Program Files\Infragistics\NetAdvantage 2011.1\Silverlight\Default Styles\XamDockManager\generic.xaml
For example, you can change the Margin for the PanePanel to eliminate/minimize the spacing on the top and bottom of the control. For example:
<igPrim:PanePanel x:Name="Panel" Grid.Row="1" Grid.Column="1" Background="Transparent" Margin="1,0,1,0">
<ContentControl VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
</igPrim:PanePanel>
I just noticed that Visual Studio also has padding outside of the content panes..
If its not easy to get rid of them, is there a way to reduce the thickness?... We are looking at every possible way to maximize the screen space for content..
Thanks
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..