StyleSet.OverridePenWorker Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overrides the specified Pen in the StyleSet.
protected:
virtual void OverridePenWorker(Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ penId, Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ basePenId, Microsoft::VisualStudio::Modeling::Diagrams::PenSettings ^ penSettings);
protected virtual void OverridePenWorker (Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId penId, Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId basePenId, Microsoft.VisualStudio.Modeling.Diagrams.PenSettings penSettings);
abstract member OverridePenWorker : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.PenSettings -> unit
override this.OverridePenWorker : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.PenSettings -> unit
Protected Overridable Sub OverridePenWorker (penId As StyleSetResourceId, basePenId As StyleSetResourceId, penSettings As PenSettings)
Parameters
- penId
- StyleSetResourceId
The new penId for the resource to put into this StyleSet.
- basePenId
- StyleSetResourceId
The base penId for the resource in the parent StyleSet.
- penSettings
- PenSettings
PenSettings for what is allowed to override.