    

 ## On this page

  

 

 # Interface IMainThread

 Last update: 09.03.2026 

<a id="VM_Managed_DAFUL_Pre_IMainThread"></a>

Namespace: [VM.Managed.DAFUL.Pre](VM.Managed.DAFUL.Pre.md)  
Assembly: dfpredat.dll

This interface is to represent main thread

```csharp
public interface IMainThread

```

#### 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_)

## Properties

### <a id="VM_Managed_DAFUL_Pre_IMainThread_InvokeRequired"></a> InvokeRequired

Gets the invoke required status

```csharp
bool InvokeRequired { get; }

```

#### Property Value

bool

## Methods

### <a id="VM_Managed_DAFUL_Pre_IMainThread_InvokeMainThread_System_Action_"></a> InvokeMainThread(Action)

Invoke  to the main

```csharp
void InvokeMainThread(Action action)

```

#### Parameters

`action` Action

The  to invoke.