ActivityDesignerTheme.GetBackgroundBrush Method (Rectangle)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

[BrowsableAttribute(false)]
public Brush GetBackgroundBrush(
	Rectangle rectangle
)

Parameters

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
Show: