Adorner Constructor ()

 

Initializes a new instance of the Adorner class.

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

public:
Adorner()

The Adorner constructor creates a new GlyphCollection and is enabled, by default.

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

demoAdorner = gcnew Adorner();
BehaviorService->Adorners->Add(demoAdorner);

.NET Framework
Available since 2.0
Return to top
Show: