TreeView for WinForms | ComponentOne
C1.Framework Namespace / TreeRow Class / RenderChildren Method
Graphics object where the element will be rendered.
Rectangle where the child elements will be rendered.

In This Topic
    RenderChildren Method (TreeRow)
    In This Topic
    Renders the child elements into a given rectangle.
    Syntax
    'Declaration
     
    
    Public Overridable Sub RenderChildren( _
       ByVal g As Graphics, _
       ByVal r As Rectangle _
    ) 
    public virtual void RenderChildren( 
       Graphics g,
       Rectangle r
    )

    Parameters

    g
    Graphics object where the element will be rendered.
    r
    Rectangle where the child elements will be rendered.
    Remarks
    Derived elements may override this method in order to draw into the System.Drawing.Graphics after the background and borders have been rendered but before the child elements are rendered.
    See Also