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

In This Topic
    GetBrush Method (BackgroundBrushProvider)
    In This Topic
    Gets an updated BackgroundBrushProvider.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 BackgroundBrushProvider.GradientMode property is set to a value other than None.

    Return Value

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