# StyleHandler<THandler> delegate

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

```cs
public delegate StyleHandler<THandler>
```

Delegate to handle styling a widget handler

**Remarks:** This allows you to add additional logic or set properties on the widget and platform-specific control(s) based on the styles set on the widget.

**Type parameters:**

- `THandler` (where Widget.IHandler): Type of the handler to style

**Signature:**

```cs
void StyleHandler<THandler>(THandler handler)
```

**Parameters:**

- `handler` (`THandler`): Handler instance that is being styled
