ClassDesktopSelectionPattern
Class
Represent selection pattern.
Definition
Namespace:ArtOfTest.WebAii.DesktopAutomation.Patterns
Assembly:ArtOfTest.WebAii.dll
Syntax:
cs-api-definition
public class DesktopSelectionPattern : DesktopPattern
Inheritance: objectDesktopPatternDesktopSelectionPattern
Inherited Members
Constructors
DesktopSelectionPattern(DesktopElement)
Create new instance of DesktopSelectionPattern class.
Declaration
cs-api-definition
public DesktopSelectionPattern(DesktopElement element)
Parameters
element
Underlying element.
Properties
CanSelectMultiple
Indicates whether multiple items can be selected.
IsSelectionRequired
Indicates whether item selection is required.
Methods
AllSelectedItems()
Get all selected items.
Declaration
cs-api-definition
public DesktopElement[] AllSelectedItems()
Returns
Array of DesktopElement.
FirstSelectedItem()
Get first selected item.
Declaration
cs-api-definition
public DesktopElement FirstSelectedItem()
Returns
Instance of DesktopElement.