/// <summary> /// Raises RenderTreeBackground event. /// </summary> /// <param name="e">Event data.</param> protected virtual void OnRenderTreeBackground(TreeBackgroundRendererEventArgs e) { if(RenderTreeBackground!=null) RenderTreeBackground(this, e); }
/// <summary> /// Draws the tree background. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderTreeBackground method so events can occur. /// </summary> /// <param name="e">Information provided for rendering.</param> public virtual void DrawTreeBackground(TreeBackgroundRendererEventArgs e) { OnRenderTreeBackground(e); }