ShapeField.DefaultPenId Property

Gets or sets the ID of the default pen to use for the shape field.

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

Syntax

'宣言
Public Property DefaultPenId As StyleSetResourceId
'使用
Dim instance As ShapeField
Dim value As StyleSetResourceId

value = instance.DefaultPenId

instance.DefaultPenId = value
public StyleSetResourceId DefaultPenId { get; set; }
public:
property StyleSetResourceId^ DefaultPenId {
    StyleSetResourceId^ get ();
    void set (StyleSetResourceId^ value);
}
public function get DefaultPenId () : StyleSetResourceId
public function set DefaultPenId (value : StyleSetResourceId)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId

The ID of the default pen to use for the shape field.

Permissions

See Also

Reference

ShapeField Class

ShapeField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace