ShapeElement.StyleSet Property

Gets an instance of the style set 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 StyleSet As StyleSet
'使用
Dim instance As ShapeElement
Dim value As StyleSet

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

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSet

An instance of the style set for the shape; otherwise, if there is no style set for the shape, the style set for the class.

Permissions

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace