Subscribe to a Studio Pro event.
protected IEventSubscription Subscribe<TEvent>(Action onEvent)
where TEvent : IEvent| parameter | description |
|---|---|
| TEvent | The type of event to subscribe to. |
| onEvent | The action to execute when the event occurs. |
| exception | condition |
|---|---|
| ArgumentNullException | If the action passed is |
- interface IEventSubscription
- interface IEvent
- class UIExtensionBase
- namespace Mendix.StudioPro.ExtensionsAPI.UI
protected IEventSubscription Subscribe<TEvent>(Action<TEvent> onEvent)
where TEvent : IEvent- interface IEventSubscription
- interface IEvent
- class UIExtensionBase
- namespace Mendix.StudioPro.ExtensionsAPI.UI