BehaviorService.PushBehavior Method (Behavior)

 
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.

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: