StyleSet.OverrideBrushWorker Method
Overrides the specified Brush in the StyleSet.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Protected Overridable Sub OverrideBrushWorker ( _
brushId As StyleSetResourceId, _
baseBrushId As StyleSetResourceId, _
brushSettings As BrushSettings _
)
protected virtual void OverrideBrushWorker(
StyleSetResourceId brushId,
StyleSetResourceId baseBrushId,
BrushSettings brushSettings
)
protected:
virtual void OverrideBrushWorker(
StyleSetResourceId^ brushId,
StyleSetResourceId^ baseBrushId,
BrushSettings^ brushSettings
)
abstract OverrideBrushWorker :
brushId:StyleSetResourceId *
baseBrushId:StyleSetResourceId *
brushSettings:BrushSettings -> unit
override OverrideBrushWorker :
brushId:StyleSetResourceId *
baseBrushId:StyleSetResourceId *
brushSettings:BrushSettings -> unit
protected function OverrideBrushWorker(
brushId : StyleSetResourceId,
baseBrushId : StyleSetResourceId,
brushSettings : BrushSettings
)
Parameters
brushId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceIdThe new brushId for the resource to put into this StyleSet.
baseBrushId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceIdThe base brushId for the resource in the parent 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.