Hi,
How to Remove Padding for the Nested Toolwindows in floated state ?
Suppose i am having the Docksites inside the Toolwindow and these docksites are also having the toolwindow respectively.
I apply the ppadding to 0 in the window resources so when i run the application its applied and marging b/w the toolwindows will not displayed.
But when i Float the MainToolwindow,Its again displaying the Margin(Padding).
So how can i remove the Padding b/w inner toolwindows for the Floated toolwindow which also have the Inner toolwindows.
<Window.Resources>
<Style TargetType="{x:Type docking:AutoHideHost}">
<Setter Property="Padding"Value="0" /></Style>
</Window.Resources><Grid>
<docking:DockSite>
<docking:ToolWindowContainer>
<docking:ToolWindow X:Name="MainToolWindow">
<docking:DockSite x:Name="BaseDocksite">
<docking:Workspace>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<docking:DockSite Grid.Column="0" x:Name="Docksite1"><docking:ToolWindowContainer>
<docking:ToolWindow>
<Grid><Button Content="Floats the Window1"></Button></Grid></docking:ToolWindow></docking:ToolWindowContainer></docking:DockSite>
<ContentControl Grid.Column="2"><Grid><Button Content="ContentControl"></Button></Grid></ContentControl></Grid></docking:Workspace></docking:DockSite>
</docking:ToolWindow>
</docking:ToolWindowContainer>
</docking:DockSite></Grid>
[Modified 12 years ago]