InputPanel for WinForms | ComponentOne
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 Rectangle _
    ) As Brush
    public Brush GetBrush( 
       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