WidgetHandlerTControl, TWidget Class |
Namespace: Eto
public abstract class WidgetHandler<TControl, TWidget> : WidgetHandler<TWidget>, IControlObjectSource where TWidget : Widget
The WidgetHandlerTControl, TWidget type exposes the following members.
Name | Description | |
---|---|---|
![]() | WidgetHandlerTControl, TWidget | Initializes a new instance of the WidgetHandlerTControl, TWidget class |
Name | Description | |
---|---|---|
![]() | Connector |
Gets a weak connector class to hook up events to the underlying control
|
![]() | Control |
Gets or sets the platform-specific control object
|
![]() | DisposeControl |
Gets a value indicating that control should automatically be disposed when this widget is disposed
|
![]() | HasControl |
Gets a value indicating whether this instance has a Control instance.
|
Name | Description | |
---|---|---|
![]() | CreateConnector |
Creates the event connector for this control
|
![]() | CreateControl |
Creates the control if not already set.
|
![]() | Dispose |
Disposes this widget and the associated control if DisposeControl is true (Overrides WidgetHandlerTWidgetDispose(Boolean).) |
![]() ![]() | GetControl |
Gets the platform-specific control object of the specified widget using this handler
|
// override the class and implement widget-specific interface public MyWidgetHandler : WidgetHandler<MyPlatformControl, MyWidget>, IMyWidget { // implement IStaticWidget's properties and methods }