StyleSet.AddBrush 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.
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.