    

 ## On this page

  

 

 # Class FileDialogInfo

 Last update: 16.07.2025 

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

This class is to represent the file dialog information.

```csharp
public class FileDialogInfo

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [FileDialogInfo](VM.Managed.DAFUL.Pre.FileDialogInfo.md)

#### Derived

[OpenFileDialogInfo](VM.Managed.DAFUL.Pre.OpenFileDialogInfo.md), [SaveFileDialogInfo](VM.Managed.DAFUL.Pre.SaveFileDialogInfo.md)

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

### FileDialogInfo()

Initializes a new instance of the  class.

```csharp
public FileDialogInfo()

```

## Properties

### AddExtension

Gets or sets the \[add extension\] flag.

```csharp
public bool AddExtension { get; set; }

```

#### Property Value

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

### DefaultExt

Gets or sets the default extension.

```csharp
public string DefaultExt { get; set; }

```

#### Property Value

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

### FileName

Gets or sets the name of the file.

```csharp
public string FileName { get; set; }

```

#### Property Value

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

### Filter

Gets or sets the filter.

```csharp
public string Filter { get; set; }

```

#### Property Value

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

### FilterIndex

Gets or sets the filter index.

```csharp
public int FilterIndex { get; set; }

```

#### Property Value

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

### InitialDirectory

Gets or sets the initial directory.

```csharp
public string InitialDirectory { get; set; }

```

#### Property Value

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

### RestoreDirectory

Gets or sets the \[restore directory\] flag.

```csharp
public bool RestoreDirectory { get; set; }

```

#### Property Value

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

### Title

Gets or sets the title.

```csharp
public string Title { get; set; }

```

#### Property Value

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