Click or drag to resize

WidgetHandlerTControl, TWidgetCreateControl Method

Creates the control if not already set.

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
protected virtual TControl CreateControl()

Return Value

Type: TControl
The control.
Remarks
Override this to create the control instance for the handler. This makes it easy to extend existing handler implementations with different control implementations. Some platforms (e.g. Mac) require subclasses to implement/override functionality.
See Also