編集

次の方法で共有


ActivityDesignerTheme.GetBackgroundBrush(Rectangle) Method

Definition

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

rectangle
Rectangle

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

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