System.ComponentModel.InitializationEventAttribute Class

Specifies which event is raised on initialization. This class cannot be inherited.

See Also: InitializationEventAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class InitializationEventAttribute : Attribute

Remarks

The System.ComponentModel.InitializationEventAttribute class identifies the event for which data-bound controls can be loaded. It is intended for use at design time to determine which event to handle when autogenerating data-binding code.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0