Table of Contents

Interface ISelectionPattern

Namespace
HP.LFT.SDK.UIAPro
Assembly
HP.LFT.SDK.dll

The methods and properties used to interact with a container control that contains selectable items. The children of this element support the ISelectionItemPattern.

public interface ISelectionPattern

Properties

CanSelectMultipleItems

Indicates whether more than one item in the container can be selected at one time.

bool CanSelectMultipleItems { get; }

Property Value

bool

IsSelectionRequired

Gets a value that specifies whether the container requires at least one child item to be selected.

bool IsSelectionRequired { get; }

Property Value

bool

SelectedChildren

All selected items from the container. Note: This method is only supported when you enable the legacy UIA Pro Add-in.

[Obsolete("Use SelectedChildrenAsUIObjects instead.")]
List<object> SelectedChildren { get; }

Property Value

List<object>

SelectedChildrenAsUIObjects

All selected items from the container. Note: This method is not supported when you enable the legacy UIA Pro Add-in.

List<IUiObject> SelectedChildrenAsUIObjects { get; }

Property Value

List<IUiObject>