Behavior Constructor ()

 

Initializes a new instance of the Behavior class.

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

protected:
Behavior()

The following code example demonstrates how to initialize a new instance of the Behavior class. This code example is part of a larger example provided for the BehaviorService class.

public:
    DemoGlyph(BehaviorService^ behavior, Control^ control):
      Glyph(gcnew BehaviorServiceSample::DemoBehavior)
      {
          this->behavior = behavior;
          this->control = control;
      }

.NET Framework
Available since 2.0
Return to top
Show: