Compartir a través de


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaración
Public Property DefaultPenId As StyleSetResourceId
    Get
    Set
public StyleSetResourceId DefaultPenId { get; set; }
public:
property StyleSetResourceId^ DefaultPenId {
    StyleSetResourceId^ get ();
    void set (StyleSetResourceId^ value);
}
member DefaultPenId : StyleSetResourceId with get, set
function get DefaultPenId () : StyleSetResourceId
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.

Remarks

The ShapeField's GetPenId method returns this value unless GetPenId is overridden.

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace