Method onBeforeDraw onBeforeDraw() Virtual method for implementing operations before the Action gets drawn in the RuleEngine or the Toolbox. Declaration public virtual void onBeforeDraw()