This documentation is archived and is not being maintained.

WorkflowView.OnControlAdded Method

Occurs when a control is added to the WorkflowView.

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

protected override void OnControlAdded(
	ControlEventArgs e
)

Parameters

e
Type: System.Windows.Forms.ControlEventArgs

A ControlEventArgs that contains the event data.

ExceptionCondition
InvalidOperationException

If the control added is not a HScrollBar or VScrollBar

OnControlAdded is called when a child control is added to the WorkflowView. The only child controls allowed are HScrollBar and VScrollBar controls.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: