> For the complete documentation index, see [llms.txt](https://docs.gapvelocity.ai/webmap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gapvelocity.ai/webmap/general/frontend/documentation/winforms-angular-components/web-components/kendoui-components/messagebox.md).

# MessageBox

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

Implementation details:

## Component selector

> 'wm-messagebox'

## 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. |
| labelMessage: string                   | Get     | No             | Gets the message to show in the Messagebox.                                          |

### Methods

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

### Events

| Event | Supported | Parameter        | Details                                                                                                                           |
| ----- | --------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| click | Yes       | buttonId: string | buttonClick  event that is called when a button is clicked. The buttonId is the UniqueID property of the button that was clicked. |
