StyleSet.OverrideBrush Method
Overrides the specified Brush in the StyleSet.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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.StyleSetResourceIdThe new brushId for the resource to put into this StyleSet.
brushSettings
Type: Microsoft.VisualStudio.Modeling.Diagrams.BrushSettingsBrushSettings 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.