共用方式為


DiagramItem.CanFocus Property

Gets a value indicating whether this DiagramItem is focusable.

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 ReadOnly Property CanFocus As Boolean
public bool CanFocus { get; }
public:
property bool CanFocus {
    bool get ();
}
member CanFocus : bool with get
function get CanFocus () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

DiagramItem Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace