다음을 통해 공유


StyleSet.OverrideBrush(StyleSetResourceId, BrushSettings) Method

Definition

Overrides the specified Brush in the StyleSet.

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

Parameters

brushId
StyleSetResourceId

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

brushSettings
BrushSettings

BrushSettings for what is allowed to override.

Applies to