Compartir a través de


ShapeElement.OnBeforePaint Method

Definition

OnBeforePaint is called at the start of the ShapeElement's painting. It provides an opportunity for developers to update and override resources before they're used in painting.

protected:
 virtual void OnBeforePaint();
protected virtual void OnBeforePaint ();
abstract member OnBeforePaint : unit -> unit
override this.OnBeforePaint : unit -> unit
Protected Overridable Sub OnBeforePaint ()

Remarks

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

Applies to