Share via


ShapeElement.Decorators Property

Gets the collection of decorators for the shape.

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

Syntax

'Declaration
Public Overridable ReadOnly Property Decorators As IList(Of Decorator)
'Usage
Dim instance As ShapeElement 
Dim value As IList(Of Decorator)

value = instance.Decorators
public virtual IList<Decorator> Decorators { get; }
public:
virtual property IList<Decorator^>^ Decorators {
    IList<Decorator^>^ get ();
}
public function get Decorators () : IList<Decorator>

Property Value

Type: System.Collections.Generic.IList<Decorator>
The collection of decorators for the shape; otherwise, nulla null reference (Nothing in Visual Basic) if the shape has no decorators.

Remarks

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

.NET Framework Security

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace