ACAT.Lib.Extension.AppAgents.WindowsExplorer.WindowsExplorerAgentBase.isFileExplorer C# (CSharp) Метод

isFileExplorer() защищенный Метод

Checks if the window element is the Windows Explorer window
protected isFileExplorer ( AutomationElement windowElement ) : bool
windowElement System.Windows.Automation.AutomationElement element in focus
Результат bool
        protected bool isFileExplorer(AutomationElement windowElement)
        {
            return (windowElement != null) ? (String.Compare(windowElement.Current.ClassName, "CabinetWClass") == 0 &&
                String.Compare(windowElement.Current.ControlType.ProgrammaticName, "ControlType.Window") == 0) : false;
        }