> ## 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 OpenHiddenDocumentEvent

Namespace: [VM.Managed.DAFUL.GearTrain.History](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.GearTrain.History)\
Assembly: VMDGearTrain.dll

The open hidden document event class

```csharp theme={null}
public class OpenHiddenDocumentEvent : HiddenDocumentEventBase
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
HistoryEvent ←
[HiddenDocumentEventBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.GearTrain.History.HiddenDocumentEventBase.md) ←
[OpenHiddenDocumentEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.GearTrain.History.OpenHiddenDocumentEvent.md)

#### Inherited Members

[HiddenDocumentEventBase.Clear(bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.GearTrain.History.HiddenDocumentEventBase.md#VM_Managed_DAFUL_GearTrain_History_HiddenDocumentEventBase_Clear_System_Boolean_),
[HiddenDocumentEventBase.Open()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.GearTrain.History.HiddenDocumentEventBase.md#VM_Managed_DAFUL_GearTrain_History_HiddenDocumentEventBase_Open),
[HiddenDocumentEventBase.Close()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.GearTrain.History.HiddenDocumentEventBase.md#VM_Managed_DAFUL_GearTrain_History_HiddenDocumentEventBase_Close),
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-r2/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-r2/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-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### OpenHiddenDocumentEvent(object, string)

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

```csharp theme={null}
public OpenHiddenDocumentEvent(object obOriginal, string strFilePath)
```

#### Parameters

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

The original object.

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

The file path.

## Methods

### BeforeRedo(HistoryEventArgs)

Called before redo by HistoryManager.

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

#### Parameters

`args` HistoryEventArgs

The event argument for call this method.

### BeforeUndo(HistoryEventArgs)

Called before undo by HistoryManager.

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

#### Parameters

`args` HistoryEventArgs

The event argument for call this method.

### OpenHiddenDocument(object, string)

Open hidden document.

```csharp theme={null}
public static void OpenHiddenDocument(object obj, string strFilePath)
```

#### Parameters

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

The object.

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

The file path.

### Redo(HistoryEventArgs)

Redo this event.

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

#### Parameters

`args` HistoryEventArgs

The event argument for redo.

### Undo(HistoryEventArgs)

Undo this event.

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

#### Parameters

`args` HistoryEventArgs

The event argument for undo.
