Freigeben über


DefaultBoundsRules Class

Definition

Basic rules that constrain the child based on Snap-To-Grid and anchoring.

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

Properties

Instance

Gets the public Instance accessor for the singleton

Methods

GetCompliantBounds(ShapeElement, RectangleD)

Returns the compliant bounds in world units relative to the top-left of the parent using this bounds rule.

Applies to