Partager via


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Public Sub SelectFocusedItemOrAncestor
public void SelectFocusedItemOrAncestor()
public:
void SelectFocusedItemOrAncestor()
member SelectFocusedItemOrAncestor : unit -> unit 
public function SelectFocusedItemOrAncestor()

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace