Click or drag to resize

Control Methods

The Control type exposes the following members.

Methods
  NameDescription
Protected methodApplyStyles
Applies the styles to the specified widget up the parent chain.
Public methodAttachNative
Attaches the control for direct use in a native application
Public methodDetach
Detaches the control by removing it from its parent
Public methodDetachNative
Detaches the control when it is used in a native application, when you want to reuse the control.
Protected methodDispose
Handles the disposal of this control
(Overrides WidgetDispose(Boolean).)
Public methodDoDragDrop(DataObject, DragEffects)
Starts drag operation using this control as drag source.
Public methodDoDragDrop(DataObject, DragEffects, Image, PointF)
Starts drag operation using this control as drag source.
Public methodFindParent(String)
Finds a control in the parent hierarchy with the specified id
Public methodFindParent(Type, String)
Finds a control in the parent hierarchy with the specified type and ID if specified
Public methodFocus
Attempts to set the keyboard input focus to this control, or the first child that accepts focus
Protected methodGetCallback
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides WidgetGetCallback.)
Public methodInvalidate
Queues a repaint of the entire control on the screen and any of its children.
Public methodInvalidate(Boolean)
Queues a repaint of the entire control on the screen
Public methodInvalidate(Rectangle)
Queues a repaint of the specified rect of the control and any children.
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
Protected methodOnApplyCascadingStyles
Called when cascading styles should be applied to this control.
Protected methodOnDragDrop
Raises the DragDrop event.
Protected methodOnDragEnter
Raises the DragEnter event.
Protected methodOnDragLeave
Raises the DragLeave event.
Protected methodOnDragOver
Raises the DragOver event.
Protected methodOnEnabledChanged
Raises the EnabledChanged event.
Protected methodOnGotFocus
Raises the GotFocus event.
Protected methodOnKeyDown
Raises the KeyDown event.
Protected methodOnKeyUp
Raises the KeyUp event.
Protected methodOnLoad
Raises the Load event.
Protected methodOnLoadComplete
Raises the LoadComplete event.
Protected methodOnLostFocus
Raises the LostFocus event.
Protected methodOnMouseDoubleClick
Raises the mouse MouseDoubleClick event.
Protected methodOnMouseDown
Raises the MouseDown event.
Protected methodOnMouseEnter
Raises the MouseEnter event.
Protected methodOnMouseLeave
Raises the MouseLeave event.
Protected methodOnMouseMove
Raises the MouseMove event.
Protected methodOnMouseUp
Raises the MouseUp event.
Protected methodOnMouseWheel
Raises the MouseWheel event.
Protected methodOnPreLoad
Raises the PreLoad event.
Protected methodOnShown
Raises the Shown event.
Protected methodOnSizeChanged
Raises the SizeChanged event.
Protected methodOnStyleChanged
Handles when the Style is changed.
(Overrides WidgetOnStyleChanged(EventArgs).)
Protected methodOnTextInput
Raises the TextInput event.
Protected methodOnUnLoad
Raises the UnLoad event.
Public methodPointFromScreen
Converts a point from screen space to control space.
Public methodPointToScreen
Converts a point from control space to screen space
Public methodRectangleFromScreen
Converts a rectangle from control space to screen space
Public methodRectangleToScreen
Converts a rectangle from screen space to control space.
Public methodResumeLayout
Resumes the layout after it has been suspended, and performs a layout
Public methodSuspendLayout
Suspends the layout of child controls
Top
See Also