Table of Contents

Interface ITopLevelWindowService

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll

Provides a method to get the top-level-window of any UIElement. If the WPF Designer is hosted inside a Windows.Forms application, the hosting environment should specify a ITopLevelWindowService implementation that works with both WPF and Windows.Forms top-level-windows.

public interface ITopLevelWindowService

Methods

GetTopLevelWindow(UIElement)

Gets the top level window that contains the specified element.