StyleSet.OverrideBrush Method
Overrides the specified Brush in the StyleSet.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Overridable Sub OverrideBrush ( _
brushId As StyleSetResourceId, _
brushSettings As BrushSettings _
)
public virtual void OverrideBrush(
StyleSetResourceId brushId,
BrushSettings brushSettings
)
public:
virtual void OverrideBrush(
StyleSetResourceId^ brushId,
BrushSettings^ brushSettings
)
abstract OverrideBrush :
brushId:StyleSetResourceId *
brushSettings:BrushSettings -> unit
override OverrideBrush :
brushId:StyleSetResourceId *
brushSettings:BrushSettings -> unit
public function OverrideBrush(
brushId : StyleSetResourceId,
brushSettings : BrushSettings
)
Parameters
- brushId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The new brushId for the resource to put into this StyleSet.
- brushSettings
Type: Microsoft.VisualStudio.Modeling.Diagrams.BrushSettings
BrushSettings for what is allowed to override.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.