Content layout incorrectly styled inside a ToolWindow

Docking/MDI for WPF Forum

Posted 8 years ago by Mark Bonner
Version: 16.1.0633
Platform: .NET 4.5
Environment: Windows 10 (64-bit)


The following XAML fragment is from a UserControl loaded into a ToolWindow at runtime. When displayed within the ToolWindow the UniformGrid row sizing is inconsistent. But on copying to a vanillla WPF application all rows are the same height.

<ScrollViewer VerticalScrollBarVisibility="Auto">
<ItemsControl Height="Auto"
ItemsSource="{Binding Path=Parameters[0].Bits}"

<UniformGrid Background="White" Rows="{Binding Items.Count, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ItemsControl}}}" IsItemsHost="True" Columns="1">


<Border BorderThickness="1" BorderBrush="Black">
<Rectangle Fill="Blue"></Rectangle>





Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Mark,

Can you email our support address with a new simple sample project that shows this scenario happening so we can debug it?  In your email, please reference this thread and rename the .zip file extension so it doesn't get spam blocked.  Then we'll debug it and see what's going on.  I wouldn't expect our ToolWindow to be doing anything odd though because it's just a plain ContentControl in v2016.1.  Thanks!

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.