[]
        
(Showing Draft Content)

C1.Framework.BackgroundBrushProvider.GetBrush

GetBrush Method

GetBrush(Rectangle)

Gets an updated Brush that can be used to fill a given Rectangle.

Declaration
public Brush GetBrush(Rectangle rc)
Public Function GetBrush(rc As Rectangle) As Brush
Parameters
Type Name Description
Rectangle rc

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

Returns
Type Description
Brush

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

Implements