Compartment.BoundsRules Property

Gets the boundaries for the compartment shape.

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

Syntax

'宣言
Public Overrides ReadOnly Property BoundsRules As BoundsRules
'使用
Dim instance As Compartment
Dim value As BoundsRules

value = instance.BoundsRules
public override BoundsRules BoundsRules { get; }
public:
virtual property BoundsRules^ BoundsRules {
    BoundsRules^ get () override;
}
public override function get BoundsRules () : BoundsRules

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.BoundsRules

The boundaries for the compartment shape; otherwise, a null reference (Nothing in Visual Basic).

Remarks

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

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

Permissions

See Also

Reference

Compartment Class

Compartment Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace