Partilhar via


PortMovementRule Class

Definition

Bounds rules for keeping ports on the perimeter of their parent shapes.

public ref class PortMovementRule : Microsoft::VisualStudio::Modeling::Diagrams::BoundsRules
[System.Serializable]
public class PortMovementRule : Microsoft.VisualStudio.Modeling.Diagrams.BoundsRules
[<System.Serializable>]
type PortMovementRule = class
    inherit BoundsRules
Public Class PortMovementRule
Inherits BoundsRules
Inheritance
PortMovementRule
Attributes

Constructors

PortMovementRule()

Properties

Instance

Singleton accessor

Methods

GetCompliantBounds(ShapeElement, RectangleD)

Calculates the compliant bounds for the port perimeter.

Applies to