A runtime form designer control

FormDesigner.SerializeComponent Event

Occurs after properties of a component have been serialized.

[Visual Basic]
Public Event SerializeComponent As SerializeComponentEventHandler 
[C#]
public event SerializeComponentEventHandler SerializeComponent;
[C++]
public: __event SerializeComponentEventHandler* SerializeComponent;

[JScript] In JScript, you can use the events defined by a type, but you cannot define your own.

Event Data

The event handler receives an argument of type SerializeComponentEventArgs containing data related to this event. The following SerializeComponentEventArgs property provides information specific to this event.

PropertyDescription
Component Gets the component being serialized.

Remarks

This event is triggered for each of the component hosted on the FormDesigner. This event provides an opportunity to add component level custom properties into the serialized data.

This event is triggered when the layout is being saved and during a cut or copy operation.

See Also

FormDesigner Class | Viklele.Win.Designer Namespace