WidgetHandlerTWidget Class |
Namespace: Eto
public abstract class WidgetHandler<TWidget> : WidgetIHandler, IDisposable where TWidget : Widget
The WidgetHandlerTWidget type exposes the following members.
| Name | Description | |
|---|---|---|
| WidgetHandlerTWidget | Initializes a new instance of the WidgetHandlerTWidget class |
| Name | Description | |
|---|---|---|
| Callback |
Gets the callback object for the control
| |
| ID |
Gets or sets the ID of this widget
| |
| NativeHandle |
Gets the native platform-specific handle for integration purposes
| |
| Widget |
Gets the widget that this platform handler is attached to
|
| Name | Description | |
|---|---|---|
| AttachEvent |
Attaches the specified event to the platform-specific control
| |
| Dispose |
Disposes this object
| |
| Dispose(Boolean) |
Disposes the object
| |
| HandleEvent |
Called to handle a specific event
| |
| Initialize |
Called to initialize this widget after it has been constructed
| |
| IsEventHandled |
Gets a value indicating that the specified event is handled
|
// override the class and implement widget-specific interface public MyStaticWidgetHandler : WidgetHandler<StaticWidget>, IStaticWidget { // implement IStaticWidget's properties and methods }