In This Topic
Syntax
'Declaration
<SRCategoryAttribute("CatPropertyChanged")>
<SRDescriptionAttribute("ControlOnAutoSizeChangedDescr")>
<System.ComponentModel.BrowsableAttribute(True)>
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Event AutoSizeChanged As System.EventHandler
'Usage
Dim instance As LicenseDialog
Dim handler As System.EventHandler
AddHandler instance.AutoSizeChanged, handler
[SRCategory("CatPropertyChanged")]
[SRDescription("ControlOnAutoSizeChangedDescr")]
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Always)]
public event System.EventHandler AutoSizeChanged
public event AutoSizeChanged: System.EventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
[SRCategory("CatPropertyChanged")]
[SRDescription("ControlOnAutoSizeChangedDescr")]
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Always)]
public: __event System.EventHandler* AutoSizeChanged
[SRCategory("CatPropertyChanged")]
[SRDescription("ControlOnAutoSizeChangedDescr")]
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Always)]
public:
event System.EventHandler^ AutoSizeChanged
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also