StyleSet::AddBrush Method (StyleSetResourceId^, StyleSetResourceId^, BrushSettings^)
Visual Studio 2015
Add a new Brush to this StyleSet.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: void AddBrush( StyleSetResourceId^ newBrushId, StyleSetResourceId^ baseBrushId, BrushSettings^ brushSettings )
Parameters
- newBrushId
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::StyleSetResourceId^
Id of the new brush to create.
- baseBrushId
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::StyleSetResourceId^
Id of the brush on which to base the new one.
- brushSettings
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::BrushSettings^
Settings flags for the Brush's overridden or immutable properties.
Show: