Visual Basic (Declaration) | |
---|---|
Event DefaultModalityPresetChanged As EventHandler(Of DataEventArgs(Of WindowLevelInformation)) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IModalitySettingsView Dim handler As EventHandler(Of DataEventArgs(Of WindowLevelInformation)) AddHandler instance.DefaultModalityPresetChanged, handler |
C# | |
---|---|
event EventHandler<DataEventArgs<WindowLevelInformation>> DefaultModalityPresetChanged |
Managed Extensions for C++ | |
---|---|
__event EventHandler<DataEventArgs<WindowLevelInformation*>*>* DefaultModalityPresetChanged |
C++/CLI | |
---|---|
event EventHandler<DataEventArgs<WindowLevelInformation^>^>^ DefaultModalityPresetChanged |
The event handler receives an argument of type DataEventArgs<TData> containing data related to this event. The following DataEventArgs<TData> properties provide information specific to this event.
Property | Description |
---|---|
Data | Gets the argument data to pass to an event handler. |
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7