CompositeActivityDesigner.ExpandButtonRectangle 屬性

定義

取得包含展開或摺疊按鈕的 RectangleGets the Rectangle that contains the expand or collapse button.

protected:
 virtual property System::Drawing::Rectangle ExpandButtonRectangle { System::Drawing::Rectangle get(); };
protected virtual System.Drawing.Rectangle ExpandButtonRectangle { get; }
member this.ExpandButtonRectangle : System.Drawing.Rectangle
Protected Overridable ReadOnly Property ExpandButtonRectangle As Rectangle

屬性值

將展開或摺疊按鈕圍住的 RectangleA Rectangle that encloses the expand or collapse button.

備註

您可以使用 ExpandButtonRectangle 傳回 Rectangle,後者會描述包圍 CompositeActivityDesigner 上展開按鈕的螢幕區域。Use ExpandButtonRectangle to return a Rectangle that describes the area of the screen that encloses the expand button on a CompositeActivityDesigner. 這在偵測滑鼠事件以回應展開或摺疊 CompositeActivityDesigner 的要求時很有幫助。This is useful for detecting mouse events to react to your requests to expand or collapse a CompositeActivityDesigner.

適用於