Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Public Property DefaultPenId As StyleSetResourceId
'Usage
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.
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.