SelectedShapesCollection.AnchorItem Property

Gets or sets the DiagramItem that serves as the anchor for extending the selection.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Property AnchorItem As DiagramItem
public DiagramItem AnchorItem { get; set; }
public:
property DiagramItem^ AnchorItem {
    DiagramItem^ get ();
    void set (DiagramItem^ value);
}
member AnchorItem : DiagramItem with get, set
function get AnchorItem () : DiagramItem 
function set AnchorItem (value : DiagramItem)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace