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()
Protected Overridable Function CreateControl As TControl
abstract CreateControl : unit -> 'TControl
override CreateControl : unit -> 'TControl
Return Value
Type:
TControlThe 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