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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.