December 03, 2013
Sends a request to activate a control and initiate its single, unambiguous action.
Assembly: System.Windows (in System.Windows.dll)
is intended as an asynchronous call and must return immediately without blocking. This behavior is particularly critical for controls that, directly or indirectly, launch a modal dialog when invoked. Any UI automation client that instigates the event remains blocked until the modal dialog is closed.
Providers should raise ElementNotEnabledException for cases where an action is performed but the control is not enabled (whether by a false value of IsEnabled value on a true control, or by equivalent control state for other UI elements or custom elements.)