共用方式為


SelectedShapesCollection.FocusedItem Property

Gets or sets the DiagramItem that has the focus.

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

Syntax

'宣告
Public Property FocusedItem As DiagramItem
    Get
    Set
public DiagramItem FocusedItem { get; set; }
public:
property DiagramItem^ FocusedItem {
    DiagramItem^ get ();
    void set (DiagramItem^ value);
}
member FocusedItem : DiagramItem with get, set
function get FocusedItem () : DiagramItem
function set FocusedItem (value : DiagramItem)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace