StyleSet.OverridePenWorker Method
Overrides the specified Pen in the StyleSet.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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.StyleSetResourceIdThe new penId for the resource to put into this StyleSet.
basePenId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceIdThe base penId for the resource in the parent StyleSet.
penSettings
Type: Microsoft.VisualStudio.Modeling.Diagrams.PenSettingsPenSettings 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.