The DesignerAttribute
attribute can be attached to a Control
or Component
class in WinForms to indicate the class that implements a designer for visually editing that type of control or component. For example, the Form
class has a DesignerAttribute
that indicates a class called FormDocumentDesigner
implements its designer.
Designers allow special design-time behavior to be applied in the WinForms designer in Visual Studio such as list view column resizing or the sizing handles on controls. Designers that support the addition of child controls to an existing control, such as FormDocumentDesigner
are ultimately derived from ComponentDesigner
.
You can check this out by using a tool like .NET Reflector.