# ThemedMessageBoxHandler class

Namespace: [Eto.Forms.ThemedControls](https://eto.picoe.ca/api/namespace/eto.forms.themedcontrols.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public class ThemedMessageBoxHandler : WidgetHandler<Widget>, MessageBox.IHandler
```

A themed message box handler to allow more customization and theming

## Properties

- [Buttons](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedmessageboxhandler/buttons.md): Gets or sets which buttons to show on the message box.
- [Caption](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedmessageboxhandler/caption.md): Gets or sets the caption for the title bar or heading of the message box.
- [DefaultButton](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedmessageboxhandler/defaultbutton.md): Gets or sets the default button, or [MessageBoxDefaultButton.Default](https://eto.picoe.ca/api/type/eto.forms.messageboxdefaultbutton.md) to automatically select either Cancel or No if displayed.
- [Text](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedmessageboxhandler/text.md): Gets or sets the body text of the message box.
- [Type](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedmessageboxhandler/type.md): Gets or sets the type of message box, usually changing the icon displayed.

## Methods

- [ShowDialog](https://eto.picoe.ca/api/type/eto.forms.themedcontrols.themedmessageboxhandler/showdialog.md): Shows the dialog.

## Inherited Members

- From [WidgetHandler<TWidget>](https://eto.picoe.ca/api/type/eto.widgethandler-1.md): [Callback](https://eto.picoe.ca/api/type/eto.widgethandler-1/callback.md), [ID](https://eto.picoe.ca/api/type/eto.widgethandler-1/id.md), [NativeHandle](https://eto.picoe.ca/api/type/eto.widgethandler-1/nativehandle.md), [Widget](https://eto.picoe.ca/api/type/eto.widgethandler-1/widget.md), [AttachEvent](https://eto.picoe.ca/api/type/eto.widgethandler-1/attachevent.md), [DetachEvent](https://eto.picoe.ca/api/type/eto.widgethandler-1/detachevent.md), [Dispose](https://eto.picoe.ca/api/type/eto.widgethandler-1/dispose.md), [HandleEvent](https://eto.picoe.ca/api/type/eto.widgethandler-1/handleevent.md), [Initialize](https://eto.picoe.ca/api/type/eto.widgethandler-1/initialize.md), [IsEventHandled](https://eto.picoe.ca/api/type/eto.widgethandler-1/iseventhandled.md), [OnInitializeComplete](https://eto.picoe.ca/api/type/eto.widgethandler-1/oninitializecomplete.md), [UnhandleEvent](https://eto.picoe.ca/api/type/eto.widgethandler-1/unhandleevent.md)
