Interface ISelectionPattern
The methods and properties used to interact with a container control that contains selectable items. The children of this element support the ISelectionItemPattern.
Namespace: HP.LFT.SDK.UIAPro
Assembly: HP.LFT.SDK.dll
Syntax
public interface ISelectionPattern
Properties
CanSelectMultipleItems
Indicates whether more than one item in the container can be selected at one time.
Declaration
bool CanSelectMultipleItems { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsSelectionRequired
Gets a value that specifies whether the container requires at least one child item to be selected.
Declaration
bool IsSelectionRequired { get; }
Property Value
| Type | Description |
|---|---|
| bool |
SelectedChildren
All selected items from the container. Note: This method is only supported when you enable the legacy UIA Pro Add-in.
Declaration
[Obsolete]
List<object> SelectedChildren { get; }
Property Value
| Type | Description |
|---|---|
| List<object> |
SelectedChildrenAsUIObjects
All selected items from the container. Note: This method is not supported when you enable the legacy UIA Pro Add-in.
Declaration
List<IUiObject> SelectedChildrenAsUIObjects { get; }
Property Value
| Type | Description |
|---|---|
| List<IUiObject> |