StyleSet::GetBrush Method (StyleSetResourceId^)
Visual Studio 2015
Retrieves a specific Brush from the StyleSet. If it's not in the current one, it looks up the parent chain to see if it can find it there. This is a singleton. Do not dispose - this will crash! Use immediately. Use GetBrushCopy if another brush is needed!
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- brushId
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::StyleSetResourceId^
Id of brush to retrieve.
Return Value
Type: System.Drawing::Brush^
Show: