BehaviorService.PushBehavior Method (Behavior)

 

Pushes a Behavior onto the behavior stack.

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

public void PushBehavior(
	Behavior behavior
)

Parameters

behavior
Type: System.Windows.Forms.Design.Behavior.Behavior

The Behavior to push.

Exception Condition
ArgumentNullException

behavior is null.

The PushBehavior method is often performed by means of a hit-tested Glyph.

.NET Framework
Available since 2.0
Return to top
Show: