Partager via


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

Syntax

'Déclaration
Public Property AnchorItem As DiagramItem
    Get
    Set
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