ActivityDesignerTheme.GetBackgroundBrush(Rectangle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a brush used to paint the area specified by the rectangle passed.
public:
System::Drawing::Brush ^ GetBackgroundBrush(System::Drawing::Rectangle rectangle);
[System.ComponentModel.Browsable(false)]
public System.Drawing.Brush GetBackgroundBrush (System.Drawing.Rectangle rectangle);
[<System.ComponentModel.Browsable(false)>]
member this.GetBackgroundBrush : System.Drawing.Rectangle -> System.Drawing.Brush
Public Function GetBackgroundBrush (rectangle As Rectangle) As Brush
Parameters
Returns
A Brush that is used to fill interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths.
- Attributes
Remarks
The background brush is used to fill the interior of the background of the designer.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.