New to Telerik Test StudioStart a free 30-day trial

Definition

Namespace:ArtOfTest.WebAii.DesktopAutomation.Patterns

Assembly:ArtOfTest.WebAii.dll

Syntax:

C#
public class DesktopSelectionPattern : DesktopPattern

Inheritance: objectDesktopPatternDesktopSelectionPattern

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

Constructors

C#
public DesktopSelectionPattern(DesktopElement element)
Parameters:elementDesktopElement

Properties

C#
public bool CanSelectMultiple { get; }
C#
public bool IsSelectionRequired { get; }
C#
public string Selection { get; }

Methods

C#
public DesktopElement[] AllSelectedItems()
Returns:

DesktopElement[]

C#
public DesktopElement FirstSelectedItem()
Returns:

DesktopElement