StyleSet::AddBrush Method (StyleSetResourceId^, StyleSetResourceId^, BrushSettings^)

 

Add a new Brush to this StyleSet.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
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.

Return to top
Show: