BehaviorService.GetNextBehavior(Behavior) Method

Definition

Returns the Behavior immediately after the given Behavior in the behavior stack.

public:
 System::Windows::Forms::Design::Behavior::Behavior ^ GetNextBehavior(System::Windows::Forms::Design::Behavior::Behavior ^ behavior);
public System.Windows.Forms.Design.Behavior.Behavior GetNextBehavior (System.Windows.Forms.Design.Behavior.Behavior behavior);
public System.Windows.Forms.Design.Behavior.Behavior? GetNextBehavior (System.Windows.Forms.Design.Behavior.Behavior behavior);
member this.GetNextBehavior : System.Windows.Forms.Design.Behavior.Behavior -> System.Windows.Forms.Design.Behavior.Behavior
Public Function GetNextBehavior (behavior As Behavior) As Behavior

Parameters

behavior
Behavior

The Behavior preceding the Behavior to be returned.

Returns

The Behavior immediately after behavior in the behavior stack, or null if there is no following behavior.

Applies to