StyleSet.OverrideBrushWorker 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
'Dichiarazione
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.StyleSetResourceId
The new brushId for the resource to put into this StyleSet.
- baseBrushId
Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The base brushId for the resource in the parent 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.