Gets a value indicating whether the component can raise an event.
Syntax
| Visual Basic (Declaration) | |
|---|
Protected ReadOnly Property CanRaiseEvents As Boolean |
| C# | |
|---|
protected bool CanRaiseEvents {get;} |
| C++/CLI | |
|---|
protected:
property bool CanRaiseEvents {
bool get();
} |
Property Value
true if the component can raise events; otherwise, false. The default is true.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also