    

 ## On this page

  

 

 # Interface IHasModal

 Last update: 16.07.2025 

Namespace: [VM.Managed.DAFUL.FE](VM.Managed.DAFUL.FE.md)  
Assembly: VMFE.dll

This interface is to represent the object that has modal.

```csharp
public interface IHasModal

```

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

## Methods

### GetModalPath()

Gets the modal information.

```csharp
string GetModalPath()

```

#### Returns

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

### GetModes()

Gets the Modes.

```csharp
ObjectBase[] GetModes()

```

#### Returns

ObjectBase\[\]

The modes.

### SetModalPath(string, string)

Sets the modal information.

```csharp
void SetModalPath(string strPath, string strDocumentDir)

```

#### Parameters

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

The modal absolute path

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

The document directory

### SetModalPath(string)

Sets the modal information.

```csharp
void SetModalPath(string strPath)

```

#### Parameters

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

The modal absolute path