This topic has not yet been rated - Rate this topic

ShapeElement.OnBeforePaint Method

Updates resources, such as pens and brushes, before they are used to paint the shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
protected virtual void OnBeforePaint()

You can override existing resources by calling StyleSet.OverrideXXX and changing the specific setting that you would like.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ