StyleSet.OverrideBrush(StyleSetResourceId, BrushSettings) 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.
Overrides the specified Brush in the StyleSet.
public:
virtual void OverrideBrush(Microsoft::VisualStudio::Modeling::Diagrams::StyleSetResourceId ^ brushId, Microsoft::VisualStudio::Modeling::Diagrams::BrushSettings ^ brushSettings);
public virtual void OverrideBrush (Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId brushId, Microsoft.VisualStudio.Modeling.Diagrams.BrushSettings brushSettings);
abstract member OverrideBrush : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.BrushSettings -> unit
override this.OverrideBrush : Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId * Microsoft.VisualStudio.Modeling.Diagrams.BrushSettings -> unit
Public Overridable Sub OverrideBrush (brushId As StyleSetResourceId, brushSettings As BrushSettings)
Parameters
- brushId
- StyleSetResourceId
The new brushId for the resource to put into this StyleSet.
- brushSettings
- BrushSettings
BrushSettings for what is allowed to override.