Redigera

Dela via


BehaviorService.PushBehavior(Behavior) Method

Definition

Pushes a Behavior onto the behavior stack.

public:
 void PushBehavior(System::Windows::Forms::Design::Behavior::Behavior ^ behavior);
public void PushBehavior (System.Windows.Forms.Design.Behavior.Behavior behavior);
member this.PushBehavior : System.Windows.Forms.Design.Behavior.Behavior -> unit
Public Sub PushBehavior (behavior As Behavior)

Parameters

behavior
Behavior

The Behavior to push.

Exceptions

behavior is null.

Remarks

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

Applies to

See also