CompositeActivityDesigner.ExpandButtonRectangle Property

 

Gets the Rectangle that contains the expand or collapse button.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected virtual Rectangle ExpandButtonRectangle { get; }

Property Value

Type: System.Drawing.Rectangle

A Rectangle that encloses the expand or collapse button.

Use ExpandButtonRectangle to return a Rectangle that describes the area of the screen that encloses the expand button on a CompositeActivityDesigner. This is useful for detecting mouse events to react to your requests to expand or collapse a CompositeActivityDesigner.

.NET Framework
Available since 3.0
Return to top
Show: