Partager via


ShapeDecorator.RequiresHost Property

For shapes, outer shape decorators require an additional host shape; inner decorators are implemented as shape fields on the shape itself.

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 RequiresHost As Boolean
public override bool RequiresHost { get; }
public:
virtual property bool RequiresHost {
    bool get () override;
}
abstract RequiresHost : bool with get 
override RequiresHost : bool with get
override function get RequiresHost () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ShapeDecorator Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace