Show / Hide Table of Contents

Class AutomationEvent

Represents an Automation event.

Inheritance
System.Object
AutomationEvent
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Runtime.InteropServices.Automation
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
public sealed class AutomationEvent

Methods

| Improve this Doc View Source

AddEventHandler(Delegate)

Attaches the specified delegate to the Automation event.

Declaration
public void AddEventHandler(Delegate handler)
Parameters
Type Name Description
System.Delegate handler

The delegate to attach to the event.

| Improve this Doc View Source

RemoveEventHandler(Delegate)

Detaches the specified delegate from the Automation event.

Declaration
public void RemoveEventHandler(Delegate handler)
Parameters
Type Name Description
System.Delegate handler

The delegate to detach from the event.

Events

| Improve this Doc View Source

EventRaised

Occurs when the Automation event occurs.

Declaration
public event EventHandler<AutomationEventArgs> EventRaised
Event Type
Type Description
System.EventHandler<AutomationEventArgs>
  • Improve this Doc
  • View Source