SelectedShapesCollection.SelectFocusedItemOrAncestor Method
Selects the currently focused item in the selection (which may or may not be selected). If it is not selectable, the parent chain will be searched for the first selectable ancestor. The focused item remains unchanged.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Sub SelectFocusedItemOrAncestor
public void SelectFocusedItemOrAncestor()
public:
void SelectFocusedItemOrAncestor()
member SelectFocusedItemOrAncestor : unit -> unit
public function SelectFocusedItemOrAncestor()
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.