This topic has not yet been rated - Rate this topic

Diagram.SupportsPorts Property

Gets the diagram and verifies whether it contains ports.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public virtual bool SupportsPorts { get; }

Property Value

Type: System.Boolean
true if the diagram contains ports; otherwise, false.

By default, the return value is false.

Hit testing does not check for ports if the diagram does not contain ports.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ