I have the same control which I display in various parts of my application and do not apply any styles. One of my views is hiding the top row of pixels in the workspace and tool windows. There is no way I can easily create a sample application as this is deep in my very complex application. As I am always available to do remote sessions with my customers, I am also available to do a quick remote session with your support team. Here is the docking xaml. The correct view display my blue border while the bugged views hide the top pixel:
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<docking:DockSite
x:Name="dockSite"
Grid.Row="0"
Margin="0"
Padding="0"
ToolWindowsHaveTabImages="True"
ToolItemContainerStyle="{StaticResource ToolWindowStyle}"
ToolItemTemplateSelector="{StaticResource ToolItemTemplateSelector}"
ToolItemsSource="{Binding ToolViewModels}">
<docking:SplitContainer Orientation="Vertical">
<docking:Workspace>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<local:GroupByItemsControl
BorderBrush="Blue"
BorderThickness="1"
Grid.Row="0"
Visibility="{Binding DisplayGroupBy, Converter={StaticResource BooleanToVisibilityConverter}, FallbackValue=Visible}"/>
<local:BaseMessagePreviewDataGrid
Grid.Row="1"
x:Name="dataGrid"
ItemsSource="{Binding ItemVMs, Mode=OneWay}"
RowDetailsTemplate="{StaticResource MessagePreview}"
RowDetailsVisibilityMode="Collapsed"
SaveStateEnabled="True" />
<local:SpinnerControl
Grid.Row="0" Grid.RowSpan="2"
Visibility="{Binding IsWaitingForResult, Converter={StaticResource BooleanToVisibilityConverter}}"/>
</Grid>
</docking:Workspace>
</docking:SplitContainer>
</docking:DockSite>
</Grid>
[Modified 2 years ago]