共用方式為


StyleSet.OverrideBrushWorker Method

Definition

Overrides the specified Brush in the StyleSet.

protected:
 virtual void OverrideBrushWorker(Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ brushId, Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ baseBrushId, Microsoft::VisualStudio::Modeling::Diagrams::BrushSettings ^ brushSettings);
protected virtual void OverrideBrushWorker (Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId brushId, Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId baseBrushId, Microsoft.VisualStudio.Modeling.Diagrams.BrushSettings brushSettings);
abstract member OverrideBrushWorker : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.BrushSettings -> unit
override this.OverrideBrushWorker : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.BrushSettings -> unit
Protected Overridable Sub OverrideBrushWorker (brushId As StyleSetResourceId, baseBrushId As StyleSetResourceId, brushSettings As BrushSettings)

Parameters

brushId
StyleSetResourceId

The new brushId for the resource to put into this StyleSet.

baseBrushId
StyleSetResourceId

The base brushId for the resource in the parent StyleSet.

brushSettings
BrushSettings

BrushSettings for what is allowed to override.

Applies to