# Widget.IHandler interface

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

```cs
public interface Widget.IHandler
```

Handler interface for the [Widget.IHandler.Widget](https://eto.picoe.ca/api/type/eto.widget.ihandler/widget.md) class

**Derived types:** [Application.IHandler](https://eto.picoe.ca/api/type/eto.forms.application.ihandler.md), [CheckBoxCell.IHandler](https://eto.picoe.ca/api/type/eto.forms.checkboxcell.ihandler.md), [Clipboard.IHandler](https://eto.picoe.ca/api/type/eto.forms.clipboard.ihandler.md), [ComboBoxCell.IHandler](https://eto.picoe.ca/api/type/eto.forms.comboboxcell.ihandler.md), [CommonDialog.IHandler](https://eto.picoe.ca/api/type/eto.forms.commondialog.ihandler.md), [ContextMenu.IHandler](https://eto.picoe.ca/api/type/eto.forms.contextmenu.ihandler.md), [Control.IHandler](https://eto.picoe.ca/api/type/eto.forms.control.ihandler.md), [Cursor.IHandler](https://eto.picoe.ca/api/type/eto.forms.cursor.ihandler.md), [CustomCell.IHandler](https://eto.picoe.ca/api/type/eto.forms.customcell.ihandler.md), [DataObject.IHandler](https://eto.picoe.ca/api/type/eto.forms.dataobject.ihandler.md), [DrawableCell.IHandler](https://eto.picoe.ca/api/type/eto.forms.drawablecell.ihandler.md), [Font.IHandler](https://eto.picoe.ca/api/type/eto.drawing.font.ihandler.md), [FontFamily.IHandler](https://eto.picoe.ca/api/type/eto.drawing.fontfamily.ihandler.md), [FontTypeface.IHandler](https://eto.picoe.ca/api/type/eto.drawing.fonttypeface.ihandler.md), [FormattedText.IHandler](https://eto.picoe.ca/api/type/eto.drawing.formattedtext.ihandler.md), [Gesture.IHandler](https://eto.picoe.ca/api/type/eto.forms.gesture.ihandler.md), [Graphics.IHandler](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler.md), [GridColumn.IHandler](https://eto.picoe.ca/api/type/eto.forms.gridcolumn.ihandler.md), [Image.IHandler](https://eto.picoe.ca/api/type/eto.drawing.image.ihandler.md), [ImageTextCell.IHandler](https://eto.picoe.ca/api/type/eto.forms.imagetextcell.ihandler.md), [ImageViewCell.IHandler](https://eto.picoe.ca/api/type/eto.forms.imageviewcell.ihandler.md), [MenuBar.IHandler](https://eto.picoe.ca/api/type/eto.forms.menubar.ihandler.md), [MenuItem.IHandler](https://eto.picoe.ca/api/type/eto.forms.menuitem.ihandler.md), [Notification.IHandler](https://eto.picoe.ca/api/type/eto.forms.notification.ihandler.md), [PageSettings.IHandler](https://eto.picoe.ca/api/type/eto.forms.pagesettings.ihandler.md), [PrintDocument.IHandler](https://eto.picoe.ca/api/type/eto.forms.printdocument.ihandler.md), [PrintSettings.IHandler](https://eto.picoe.ca/api/type/eto.forms.printsettings.ihandler.md), [ProgressCell.IHandler](https://eto.picoe.ca/api/type/eto.forms.progresscell.ihandler.md), [Region.IHandler](https://eto.picoe.ca/api/type/eto.drawing.region.ihandler.md), [Screen.IHandler](https://eto.picoe.ca/api/type/eto.forms.screen.ihandler.md), [SegmentedItem.IHandler](https://eto.picoe.ca/api/type/eto.forms.segmenteditem.ihandler.md), [TextBoxCell.IHandler](https://eto.picoe.ca/api/type/eto.forms.textboxcell.ihandler.md), [Theme.IHandler](https://eto.picoe.ca/api/type/eto.forms.theme.ihandler.md), [Thread.IHandler](https://eto.picoe.ca/api/type/eto.threading.thread.ihandler.md), [Tool.IHandler](https://eto.picoe.ca/api/type/eto.forms.tool.ihandler.md), [ToolBar.IHandler](https://eto.picoe.ca/api/type/eto.forms.toolbar.ihandler.md), [TrayIndicator.IHandler](https://eto.picoe.ca/api/type/eto.forms.trayindicator.ihandler.md), [UITimer.IHandler](https://eto.picoe.ca/api/type/eto.forms.uitimer.ihandler.md), [WidgetHandler<TWidget>](https://eto.picoe.ca/api/type/eto.widgethandler-1.md)

## Properties

- [ID](https://eto.picoe.ca/api/type/eto.widget.ihandler/id.md): Gets or sets an ID for the widget
- [NativeHandle](https://eto.picoe.ca/api/type/eto.widget.ihandler/nativehandle.md): Gets the native platform-specific handle for integration purposes
- [Widget](https://eto.picoe.ca/api/type/eto.widget.ihandler/widget.md): Gets the widget this handler is implemented for

## Methods

- [HandleEvent](https://eto.picoe.ca/api/type/eto.widget.ihandler/handleevent.md): Called to handle a specific event
- [Initialize](https://eto.picoe.ca/api/type/eto.widget.ihandler/initialize.md): Called after the widget is constructed
- [UnhandleEvent](https://eto.picoe.ca/api/type/eto.widget.ihandler/unhandleevent.md): Called when the last subscriber to an event has been removed, so the platform can stop listening for it.
