Share via


Compartment.BoundsRules Property

Gets the boundaries for the compartment shape.

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 Overrides ReadOnly Property BoundsRules As BoundsRules
public override BoundsRules BoundsRules { get; }
public:
virtual property BoundsRules^ BoundsRules {
    BoundsRules^ get () override;
}
abstract BoundsRules : BoundsRules with get 
override BoundsRules : BoundsRules with get
override function get BoundsRules () : BoundsRules

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.BoundsRules
The boundaries for the compartment shape; otherwise, nulla null reference (Nothing in Visual Basic).

Remarks

By default, the return value is nulla null reference (Nothing in Visual Basic).

Boundaries determine where users can put objects in the compartment shape and how large the objects can be.

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace