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
'Declaração
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
- 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.