> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class InterfaceEvent

Namespace: [VM.Managed](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed)\
Assembly: VMObjBase.dll

This class is to represent \[interface event].

```csharp theme={null}
public abstract class InterfaceEvent : DocumentSimpleValueModifiedEvent<List<InterfaceManager.InterfaceInfoForUndo>>
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
HistoryEvent ←
DocumentMemberModifiedEvent ←
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>> ←
[InterfaceEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.InterfaceEvent.md)

#### Derived

[InterfaceAddEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.InterfaceAddEvent.md),
[InterfaceRemoveEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.InterfaceRemoveEvent.md)

#### Inherited Members

DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.PreExecute,
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.PostExecute,
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.m\_value,
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.m\_strPropertyName,
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.m\_arAddOn,
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.m\_objParam,
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.Undo(HistoryEventArgs),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.Redo(HistoryEventArgs),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.BeforeUndo(HistoryEventArgs),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.BeforeRedo(HistoryEventArgs),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.AfterUndo(HistoryEventArgs),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.AfterRedo(HistoryEventArgs),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.Clear(bool),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string, object),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string, object, IUpdateDocAddOn\[]),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string, object, object, DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.PreExecuteCallback),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string, object, object, DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.PostExecuteCallback),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string, object, IUpdateDocAddOn\[], object, DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.PreExecuteCallback),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string, object, IUpdateDocAddOn\[], object, DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.PostExecuteCallback),
DocumentMemberModifiedEvent.m\_doc,
DocumentMemberModifiedEvent.m\_obj,
DocumentMemberModifiedEvent.Clear(bool),
HistoryEvent.ClearEvent(bool),
HistoryEvent.Undo(HistoryEventArgs),
HistoryEvent.Redo(HistoryEventArgs),
HistoryEvent.Clear(bool),
HistoryEvent.BeforeUndo(HistoryEventArgs),
HistoryEvent.AfterUndo(HistoryEventArgs),
HistoryEvent.BeforeRedo(HistoryEventArgs),
HistoryEvent.AfterRedo(HistoryEventArgs),
HistoryEvent.BeforeAdded(AddToHistoryManagerEventArgs),
HistoryEvent.AfterAdded(HistoryEventArgs),
HistoryEvent.IsValid

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### InterfaceEvent(Document, object, string, object, object, PostExecuteCallback, string)

Initializes a new instance of the [InterfaceEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.InterfaceEvent.md) class.

```csharp theme={null}
public InterfaceEvent(Document doc, object obj, string strPropertyName, object objTarget, object objParam, DocumentSimpleValueModifiedEvent<List<InterfaceManager.InterfaceInfoForUndo>>.PostExecuteCallback delPostExecute, string strXML)
```

#### Parameters

`doc` Document

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)

`strPropertyName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`objTarget` [object](https://learn.microsoft.com/dotnet/api/system.object)

`objParam` [object](https://learn.microsoft.com/dotnet/api/system.object)

`delPostExecute` DocumentSimpleValueModifiedEvent\<[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[InterfaceManager](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.InterfaceManager.md).[InterfaceInfoForUndo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.InterfaceManager.InterfaceInfoForUndo.md)>>.PostExecuteCallback

`strXML` [string](https://learn.microsoft.com/dotnet/api/system.string)

## Methods

### Add()

Add

```csharp theme={null}
protected void Add()
```

### AfterRedo(HistoryEventArgs)

After redo.
\<param name="args">The argument\</param>

```csharp theme={null}
protected override void AfterRedo(HistoryEventArgs args)
```

#### Parameters

`args` HistoryEventArgs

### AfterUndo(HistoryEventArgs)

After undo.
\<param name="args">The argument\</param>

```csharp theme={null}
protected override void AfterUndo(HistoryEventArgs args)
```

#### Parameters

`args` HistoryEventArgs

### Remove()

Remove

```csharp theme={null}
protected void Remove()
```
