StyleSet.OverridePenWorker Method
Overrides the specified Pen in the StyleSet.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Protected Overridable Sub OverridePenWorker ( _
penId As StyleSetResourceId, _
basePenId As StyleSetResourceId, _
penSettings As PenSettings _
)
protected virtual void OverridePenWorker(
StyleSetResourceId penId,
StyleSetResourceId basePenId,
PenSettings penSettings
)
protected:
virtual void OverridePenWorker(
StyleSetResourceId^ penId,
StyleSetResourceId^ basePenId,
PenSettings^ penSettings
)
abstract OverridePenWorker :
penId:StyleSetResourceId *
basePenId:StyleSetResourceId *
penSettings:PenSettings -> unit
override OverridePenWorker :
penId:StyleSetResourceId *
basePenId:StyleSetResourceId *
penSettings:PenSettings -> unit
protected function OverridePenWorker(
penId : StyleSetResourceId,
basePenId : StyleSetResourceId,
penSettings : PenSettings
)
Parameters
- penId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The new penId for the resource to put into this StyleSet.
- basePenId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The base penId for the resource in the parent StyleSet.
- penSettings
Type: Microsoft.VisualStudio.Modeling.Diagrams.PenSettings
PenSettings for what is allowed to override.
.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.