Compartilhar via


StyleSet.AddBrush Method

Definition

Add a new Brush to this StyleSet.

public:
 void AddBrush(Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ newBrushId, Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ baseBrushId, Microsoft::VisualStudio::Modeling::Diagrams::BrushSettings ^ brushSettings);
public void AddBrush (Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId newBrushId, Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId baseBrushId, Microsoft.VisualStudio.Modeling.Diagrams.BrushSettings brushSettings);
member this.AddBrush : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.BrushSettings -> unit
Public Sub AddBrush (newBrushId As StyleSetResourceId, baseBrushId As StyleSetResourceId, brushSettings As BrushSettings)

Parameters

newBrushId
StyleSetResourceId

Id of the new brush to create.

baseBrushId
StyleSetResourceId

Id of the brush on which to base the new one.

brushSettings
BrushSettings

Settings flags for the Brush's overridden or immutable properties.

Applies to