KeepInParentRule Class

 

A Bounds rule that keeps the shape within the boundary of the diagram.

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

System::Object
  Microsoft.VisualStudio.Modeling.Diagrams::BoundsRules
    Microsoft.VisualStudio.Modeling.Diagrams::KeepInParentRule

[SerializableAttribute]
public ref class KeepInParentRule : BoundsRules

NameDescription
System_CAPS_pubmethodKeepInParentRule()

Initializes a new instance of the KeepInDiagramRule class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticInstance

Gets the singleton instance of this class.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetCompliantBounds(ShapeElement^, RectangleD)

Returns the compliant bounds in world units relative to the top-left of the parent using this bounds rule.(Overrides BoundsRules::GetCompliantBounds(ShapeElement^, RectangleD).)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetMargin(ShapeElement^)

Gets the minimum margin in world units between the shape and the diagram boundary.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: