Catel.Services.UIVisualizerService.GetActiveWindow C# (CSharp) Method

GetActiveWindow() protected method

Gets the active window to use as parent window of new windows. The default implementation returns the active window of the application.
protected GetActiveWindow ( ) : FrameworkElement
return System.Windows.FrameworkElement
        protected virtual FrameworkElement GetActiveWindow()
        {
            return Application.Current.GetActiveWindow();
        }
#endif