CompositeDesignerTheme.GetExpandButtonBackgroundBrush(Rectangle) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
複合アクティビティ デザイナーの展開ボタンの背景表示プロパティを定義するブラシを取得します。
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 が呼び出される前に、メソッドは前のブラシを破棄し、新しいブラシを作成します。