ActivityDesignerTheme.GetBackgroundBrush Method (Rectangle)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a brush used to paint the area specified by the rectangle passed.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public Brush GetBackgroundBrush(
	Rectangle rectangle


Type: System.Drawing.Rectangle

A Rectangle that specifies the location and size of the area on the background.

Return Value

Type: System.Drawing.Brush

A Brush that is used to fill interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths.

The background brush is used to fill the interior of the background of the designer.

.NET Framework
Available since 3.0
Return to top