Click or drag to resize

WidgetGetCallback Method

Gets an instance of an object used to perform callbacks to the widget from handler implementations

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
protected virtual Object GetCallback()

Return Value

Type: Object
The callback instance to use for this widget
Remarks
The callback should implement the parent class' WidgetICallback interface so that there only needs to be a single callback for the entire hierarchy. This should return a static instance to avoid having overhead for each instance of your control.
See Also