DockSite.ActiveWindow is null when combobox popup shows in child ToolWindow

Docking/MDI for WPF Forum

Posted 12 years ago by Konstantin Varlamov - Edifecs
Version: 12.1.0562
Platform: .NET 4.5
Environment: Windows 8 (64-bit)

DockSite.ActiveWindow become null after combobox click.

Build 12.1.0562 used.

Sample xaml to reproduce issue:

<Window x:Class="TestWpf.MainWindow"

xmlns:docking="" Title="MainWindow" Height="350" Width="525">
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>

<TextBlock Grid.Row="0" Text="{Binding ElementName=Site, Path=ActiveWindow}"/>

<docking:DockSite x:Name="Site"

<docking:SplitContainer Orientation="Vertical">
<docking:SplitContainer Orientation="Horizontal">
<docking:ToolWindowContainer x:Name="_left" docking:DockSite.ControlSize="500, 500">
<TextBlock Text="DSDSDS"/>



<docking:ToolWindowContainer x:Name="_right" docking:DockSite.ControlSize="130, 500">
<docking:ToolWindow Title="1">
<TextBlock Text="DSDSDS"/>


<docking:ToolWindowContainer x:Name="_bottom" docking:DockSite.ControlSize="500, 100">
<ComboBox SelectedIndex="0" >
<TextBlock Text="1"/>
<TextBlock Text="2"/>


[Modified 12 years ago]

Comments (3)

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

Hi Konstantin,

Thanks, we've updated our code to better handle this for the next version.

Actipro Software Support

Posted 9 years ago by brette esterbrooks

What version was this corrected in, we are still seeing this. 

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

Hello, the related updates were made two years ago.  I just tested the XAML posted above in the latest official version and it worked properly.

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.