ComponentOne SuperTooltip for WinForms
C1.Win.4.8 Assembly / C1.Framework Namespace / BackgroundBrushProvider Class / GetBrush Method
Rectangle used to build the gradient brush if the GradientMode property is set to a value other than None.

In This Topic
    GetBrush Method (BackgroundBrushProvider)
    In This Topic
    Gets an updated Brush that can be used to fill a given System.Drawing.Rectangle.
    Syntax
    'Declaration
     
    Public Function GetBrush( _
       ByVal rc As System.Drawing.Rectangle _
    ) As System.Drawing.Brush
    public System.Drawing.Brush GetBrush( 
       System.Drawing.Rectangle rc
    )

    Parameters

    rc
    Rectangle used to build the gradient brush if the GradientMode property is set to a value other than None.

    Return Value

    A Brush that can be used to paint an element's background.
    See Also