Interface ISupportsSelectionItemPattern exposes three methods and two properties:
# selects and element. This method fits containers without multi-select.
$element.Select();

# These methods are for elements in a container that supports multi-select.
$element.AddToSelection();
$element.RemoveFromSelection();

# checking the state
$element.IsSelected

# getting the container
$parentContainer = $element.SelectionContainer

Last edited Dec 27, 2013 at 4:09 PM by apetrovskiy, version 2

Comments

No comments yet.