Partager via


UITechnologyElementProxy.IsTreeSwitchingRequired Property

Gets whether the tree switching is required for window-less tree switching cases.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property IsTreeSwitchingRequired As Boolean
public override bool IsTreeSwitchingRequired { get; }
public:
virtual property bool IsTreeSwitchingRequired {
    bool get () override;
}
abstract IsTreeSwitchingRequired : bool with get 
override IsTreeSwitchingRequired : bool with get
override function get IsTreeSwitchingRequired () : boolean

Property Value

Type: Boolean

Implements

IUITechnologyElement.IsTreeSwitchingRequired

Remarks

An example of this would be an ActiveX control hosted inside the browser.

The technology manager of the browser should return true when queried about this property for HTML OBJECT tag. This will allow the framework to switch to a different technology manager to support the hosted ActiveX control.

.NET Framework Security

See Also

Reference

UITechnologyElementProxy Class

Microsoft.VisualStudio.TestTools.UITesting Namespace