# FileDialog

Adds support for \[System.Windows.Forms.OpenFileDialog]\(<https://msdn.microsoft.com/es-es/library/system.windows.forms.openfiledialog(v=vs.110).aspx>).

Implementation details:

## Component selector

> 'wm-file-dialog'

## Kendo UI component

> [kendo-dialog](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/)

## PME support

| Property                               | Get/Set | Notify Changes | Details                                                                              |
| -------------------------------------- | ------- | -------------- | ------------------------------------------------------------------------------------ |
| routeService : ActivatedRoute(Private) | Yes     | No             | Used to call the super constructor                                                   |
| wmservice : WebMapService(Protected)   | Yes     | No             | Used to invoke commands from the events. Allow access to the webmapService provider. |
| fileList: any                          | Yes     | No             | The list of selected files in the browser's file dialog.                             |
| fileName: string                       | Yes     | No             | The selected File name.                                                              |

### Methods

| Method | Supported | Details |
| ------ | --------- | ------- |
| None   | None      | None    |

### Events

| Event | Supported | Parameter       | Details                                                                   |
| ----- | --------- | --------------- | ------------------------------------------------------------------------- |
| click | Yes       | this.id: string | This event is used to send the selected file name to the back-end server. |

## Version Information

Available since 5.1
