New to Telerik Test StudioStart a free 30-day trial

Definition

Namespace:ArtOfTest.WebAii.DesktopAutomation.Patterns

Assembly:ArtOfTest.WebAii.dll

Syntax:

C#
public class DesktopSelectionItemPattern : DesktopPattern

Inheritance: objectDesktopPatternDesktopSelectionItemPattern

Inherited Members DesktopPattern.elementDesktopPattern.EnumNativeArray(IUIAutomationElementArray)DesktopPattern.GetNativePattern<T>(int)

Constructors

C#
public DesktopSelectionItemPattern(DesktopElement element)
Parameters:elementDesktopElement

Properties

C#
public bool IsSelected { get; }
C#
public DesktopElement SelectionContainer { get; }
C#
public string SelectionContainerText { get; }

Methods

C#
public void Deselect()
C#
public void Select()