共用方式為


ShapeField.DefaultPenId Property

Definition

Gets or sets the id of the default pen to use for this ShapeField.

public:
 property Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ DefaultPenId { Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ get(); void set(Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ value); };
public Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId DefaultPenId { get; set; }
member this.DefaultPenId : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId with get, set
Public Property DefaultPenId As StyleSetResourceId

Property Value

Remarks

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

Applies to