Glyph.SetBehavior(Behavior) Method

Definition

Changes the Behavior associated with the Glyph.

protected:
 void SetBehavior(System::Windows::Forms::Design::Behavior::Behavior ^ behavior);
protected void SetBehavior (System.Windows.Forms.Design.Behavior.Behavior behavior);
protected void SetBehavior (System.Windows.Forms.Design.Behavior.Behavior? behavior);
member this.SetBehavior : System.Windows.Forms.Design.Behavior.Behavior -> unit
Protected Sub SetBehavior (behavior As Behavior)

Parameters

behavior
Behavior

A Behavior to associate with the Glyph.

Notes to Inheritors

The SetBehavior(Behavior) method is called by inheriting classes to change the Behavior associated with the Glyph.

Applies to

See also