TreeView for WinForms | ComponentOne
C1.Win.TreeView Namespace / CustomContentPresenter Class / GetBorderPath Method
the C1.Framework.Element.Style of the rendered C1.Framework.Element.
the bounds of the rendered C1.Framework.Element.
the border of the rendered C1.Framework.Element.

In This Topic
    GetBorderPath Method (CustomContentPresenter)
    In This Topic
    Gets a System.Drawing.Drawing2D.GraphicsPath that covers only the borders (hollow, used to renders the borders).
    Syntax
    'Declaration
     
    
    Protected Overridable Function GetBorderPath( _
       ByVal style As Style, _
       ByVal bounds As Rectangle, _
       ByVal broder As Thickness _
    ) As GraphicsPath
    protected virtual GraphicsPath GetBorderPath( 
       Style style,
       Rectangle bounds,
       Thickness broder
    )

    Parameters

    style
    the C1.Framework.Element.Style of the rendered C1.Framework.Element.
    bounds
    the bounds of the rendered C1.Framework.Element.
    broder
    the border of the rendered C1.Framework.Element.
    See Also