Click or drag to resize

ControlIHandler Interface

Handler interface for Control

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public interface IHandler : WidgetIHandler

The ControlIHandler type exposes the following members.

Properties
  NameDescription
Public propertyAllowDrop
Gets or sets a value indicating whether this control can serve as drop target.
Public propertyBackgroundColor
Gets or sets the color for the background of the control
Public propertyCursor
Gets or sets the type of cursor to use when the mouse is hovering over the control
Public propertyEnabled
Gets or sets a value indicating whether this Control is enabled and accepts user input.
Public propertyHasFocus
Gets a value indicating whether this instance has the keyboard input focus.
Public propertyHeight
Gets or sets the height of the control size.
Public propertyLocation
Gets the location of the control as positioned by the container
Public propertySize
Gets or sets the size of the control. Use -1 to specify auto sizing for either the width and/or height.
Public propertySupportedPlatformCommands
Gets the supported platform commands that can be used to hook up system functions to user defined logic
Public propertyTabIndex
Gets or sets the tab index order for this control within its container.
Public propertyToolTip
Gets or sets the tool tip to show when the mouse is hovered over the control
Public propertyVisible
Gets or sets a value indicating whether this Control is visible to the user.
Public propertyVisualControls
Gets an enumeration of controls that are in the visual tree.
Public propertyWidth
Gets or sets the width of the control size.
Top
Methods
  NameDescription
Public methodDoDragDrop
Starts drag operation using this control as drag source.
Public methodFocus
Attempts to set the keyboard input focus to this control, or the first child that accepts focus
Public methodGetNativeParentWindow
Gets a parent window wrapper around the native window
Public methodInvalidate(Boolean)
Queues a repaint of the entire control on the screen
Public methodInvalidate(Rectangle, Boolean)
Queues a repaint of the specified rect of the control
Public methodCode exampleMapPlatformCommand
Specifies a command to execute for a platform-specific command
Public methodOnLoad
Called when the control is loaded on a form
Public methodOnLoadComplete
Called after all other controls have been loaded
Public methodOnPreLoad
Called before the control is loaded on a form
Public methodOnUnLoad
Called when the control is unloaded, which is when it is not currently on a displayed window
Public methodPointFromScreen
Converts a point from screen space to control space.
Public methodPointToScreen
Converts a point from control space to screen space
Public methodResumeLayout
Resumes the layout after it has been suspended, and performs a layout
Public methodSetParent
Called when the parent of the control has been set
Public methodSuspendLayout
Suspends the layout of child controls
Top
See Also