System.Windows.Forms.Design.Behavior.BehaviorService.PopBehavior Method

Removes and returns the System.Windows.Forms.Design.Behavior.Behavior at the top of the stack.

Syntax

public Behavior PopBehavior (Behavior behavior)

Parameters

behavior
The System.Windows.Forms.Design.Behavior.Behavior to remove from the stack.

Returns

The System.Windows.Forms.Design.Behavior.Behavior that was removed from the stack.

Remarks

Removes the current System.Windows.Forms.Design.Behavior.Behavior from the behavior stack internally maintained by the System.Windows.Forms.Design.Behavior.BehaviorService.

Requirements

Namespace: System.Windows.Forms.Design.Behavior
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0