Udostępnij za pośrednictwem


StyleSet.OverridePenWorker Method

Definition

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.

Applies to