StyleWidgetHandlerTWidget Delegate |
Delegate to handle styling a widget
Namespace:
Eto
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public delegate void StyleWidgetHandler<TWidget>(
TWidget widget
)
where TWidget : Widget
Public Delegate Sub StyleWidgetHandler(Of TWidget As Widget) (
widget As TWidget
)
type StyleWidgetHandler =
delegate of
widget : 'TWidget -> unit
Parameters
- widget
- Type: TWidget
Widget instance that is being styled
Type Parameters
- TWidget
- Type of widget to style
Remarks
This allows you to add additional logic or set properties on the widget based on the styles set on the widget.
See Also