WorkflowView::OnControlAdded Method (ControlEventArgs^)

 

Occurs when a control is added to the WorkflowView.

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

protected:
virtual void OnControlAdded(
	ControlEventArgs^ e
) override

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: