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

'宣言
Public Overridable ReadOnly Property Decorators As IList(Of Decorator)
'使用
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, a null reference (Nothing in Visual Basic) if the shape has no decorators.

Remarks

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

Permissions

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace