Share via


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

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

戻り値

Brush

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

注釈

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

適用対象