Partager via


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

.NET Framework Security

See Also

Reference

StyleSet Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace