Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ActivityDesignerTheme.GetBackgroundBrush Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0
© 2015 Microsoft