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.
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
IsSelectionRequired
Gets a value that specifies whether the container requires at least one child item to be selected.
bool IsSelectionRequired { get; }
Property Value
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
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; }