DockSiteRegionAdapter-IActiveAware View as DocumentWindow

Docking/MDI for WPF Forum

Posted 13 years ago by Juerg
Version: 11.1.0540
The DockSiteRegionAdapter fires an IsActiveChanged event when an activeaware-view contains a ComboBox and the DropDown List of the ComboBox is expanded.
The normal WPF TabControl does not show such a behaviour.
Is it somehow possible to suppress such events, when the IsActiveChanged-Event is caused by a Framework-Element within the view?

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Juerg,

Unfortunately, no. Our DockSiteRegionAdapter currently uses the DockSite.ActiveWindow as the basis for the "active" view. This effectively tracks with the focus, so if you activate a document window, move to a tool window, move back to the document window, then you would end up with the document window being activated twice.

Unlike the WPF TabControl, the DockSite doesn't have a single "selected" item. There can be any number of items selected at any given point.

So when you click the ComboBox, you are also moving the focus. This is what results in the window activation.

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.