    

 ## On this page

  

 

 # Class CloseHiddenDocumentEvent

 Last update: 09.03.2026 

<a id="VM_Managed_DAFUL_GearTrain_History_CloseHiddenDocumentEvent"></a>

Namespace: [VM.Managed.DAFUL.GearTrain.History](VM.Managed.DAFUL.GearTrain.History.md)  
Assembly: VMDGearTrain.dll

The close hidden document event class

```csharp
public class CloseHiddenDocumentEvent : HiddenDocumentEventBase

```

#### Inheritance

object ← [HistoryEvent](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs) ← [HiddenDocumentEventBase](VM.Managed.DAFUL.GearTrain.History.HiddenDocumentEventBase.md) ← [CloseHiddenDocumentEvent](VM.Managed.DAFUL.GearTrain.History.CloseHiddenDocumentEvent.md)

#### Inherited Members

[HiddenDocumentEventBase.Clear(bool)](VM.Managed.DAFUL.GearTrain.History.HiddenDocumentEventBase.md#VM_Managed_DAFUL_GearTrain_History_HiddenDocumentEventBase_Clear_System_Boolean_), [HiddenDocumentEventBase.Open()](VM.Managed.DAFUL.GearTrain.History.HiddenDocumentEventBase.md#VM_Managed_DAFUL_GearTrain_History_HiddenDocumentEventBase_Open), [HiddenDocumentEventBase.Close()](VM.Managed.DAFUL.GearTrain.History.HiddenDocumentEventBase.md#VM_Managed_DAFUL_GearTrain_History_HiddenDocumentEventBase_Close), [HistoryEvent.ClearEvent(bool)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.Undo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.Redo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.Clear(bool)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.BeforeUndo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.AfterUndo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.BeforeRedo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.AfterRedo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.BeforeAdded(AddToHistoryManagerEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.AfterAdded(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.IsValid](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### <a id="VM_Managed_DAFUL_GearTrain_History_CloseHiddenDocumentEvent__ctor_System_Object_System_String_"></a> CloseHiddenDocumentEvent(object, string)

Initializes a new instance of the  class.

```csharp
public CloseHiddenDocumentEvent(object obOriginal, string strFilePath)

```

#### Parameters

`obOriginal` object

The original object.

`strFilePath` string

The file path.

## Methods

### <a id="VM_Managed_DAFUL_GearTrain_History_CloseHiddenDocumentEvent_CloseHiddenDocument_System_Object_System_String_"></a> CloseHiddenDocument(object, string)

Close hidden document.

```csharp
public static void CloseHiddenDocument(object obj, string strFilePath)

```

#### Parameters

`obj` object

The object.

`strFilePath` string

The file path.

### <a id="VM_Managed_DAFUL_GearTrain_History_CloseHiddenDocumentEvent_Redo_VM_Managed_History_HistoryEventArgs_"></a> Redo(HistoryEventArgs)

Undo this event.

```csharp
protected override void Redo(HistoryEventArgs args)

```

#### Parameters

`args` [HistoryEventArgs](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEventArgs.cs)

The event argument for undo.

### <a id="VM_Managed_DAFUL_GearTrain_History_CloseHiddenDocumentEvent_Undo_VM_Managed_History_HistoryEventArgs_"></a> Undo(HistoryEventArgs)

Undo this event.

```csharp
protected override void Undo(HistoryEventArgs args)

```

#### Parameters

`args` [HistoryEventArgs](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEventArgs.cs)

The event argument for undo.