CompositeDesignerTheme.GetExpandButtonBackgroundBrush(Rectangle) メソッド

定義

複合アクティビティ デザイナーの展開ボタンの背景表示プロパティを定義するブラシを取得します。

public:
 System::Drawing::Brush ^ GetExpandButtonBackgroundBrush(System::Drawing::Rectangle rectangle);
public System.Drawing.Brush GetExpandButtonBackgroundBrush(System.Drawing.Rectangle rectangle);
member this.GetExpandButtonBackgroundBrush : System.Drawing.Rectangle -> System.Drawing.Brush
Public Function GetExpandButtonBackgroundBrush (rectangle As Rectangle) As Brush

パラメーター

rectangle
Rectangle

Rectangleの展開ボタンの境界を定義するCompositeActivityDesigner

返品

LinearGradientBrush パラメーターを使用してボタン領域を定義するrectangleオブジェクト。ブラシは、左上隅から展開ボタンの右下隅まで、線形グラデーションで 2 つの色を適用します。

注釈

展開ボタンの背景ブラシが null (Visual Basic では Nothing) に設定されていない場合、GetExpandButtonBackgroundBrush が呼び出される前に、メソッドは前のブラシを破棄し、新しいブラシを作成します。

適用対象