WorkflowView.OnControlAdded Method (ControlEventArgs)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Exception Condition
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.

.NET Framework
Available since 3.0
Return to top
Show: