GOA - System.Windows.Forms.Control

Control Class


Defines the base class for controls, which are components with visual representation.

Definition

public class Control: Component

Members Table

MethodDescription
BringToFrontBrings the control to the front of the z-order.
ContainsReturns a value indicating whether the specified control is a child of the control.
ControlInitializes a new instance of Control.
CreateControlForces the creation of the control, including the creation of the handle and any child controls.
CreateControlSkinCreates the skin for the Control.
CreateControlSkinInstanceCreates a ControlSkin instance for the Control.
CreateControlsInstanceCreates a new instance of the control collection for the control.
CreateHandleCreates a handle for the control.
DestroyHandleDestroys the handle associated with the control.
DisposeOverloaded. (Inherited from Component)
EqualsOverloaded. Compares two objects to determine if they are equal. (Inherited from Object)
FindFormReturns the form that the control is on.
FocusSets input focus to the control.
GetChildAtPointReturns the child control that is located at the specified coordinates.
GetContainerControlReturns the next ContainerControl up the control's chain of parent controls.
GetHashCodeServes as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object)
GetNextControlReturns the next control forward or back in the tab order of child controls.
GetStyleReturns the value of the specified control style bit for the control.
GetTopLevelDetermines if the control is a top-level control.
GetTypeGets the Type of the current instance. (Inherited from Object)
HideHides the control from the user.
InitLayoutInitializes the layout state of the control after it has been added to another container.
InternalMethod
InvalidateOverloaded. Invalidates the control. This will cause a paint event to be sent later to the control.
InvokeGotFocusRaises the GotFocus event for the specified control.
InvokeLostFocusRaises the LostFocus event for the specified control.
InvokeOnClickRaises the Click event for the specified control.
InvokePaintRaises the Paint event for the specified control.
InvokePaintBackgroundInvoke the Control.OnPaintBackground method for the specified control.
IsInputCharDetermines if a character is an input character that the control recognizes.
IsInputKeyDetermines whether the specified key is a regular input key or a special key that requires preprocessing.
IsMnemonicDetermines if the specified character is the mnemonic character assigned to the control in the specified string.
OnBackColorChangedRaises the BackColorChanged event.
OnCausesValidationChangedRaises the CausesValidationChanged event.
OnClickRaises the Click event.
OnClientSizeChanged
OnControlAddedRaises the ControlAdded event.
OnControlRemovedRaises the ControlRemoved event.
OnCreateControlRaises the CreateControl event.
OnCursorChangedRaises the CursorChanged event.
OnDockChangedRaises the DockChanged event.
OnDoubleClickRaises the DoubleClick event.
OnEnabledChangedRaises the EnabledChanged event.
OnEnterRaises the Enter event.
OnFontChangedRaises the FontChanged event.
OnForeColorChangedRaises the ForeColorChanged event.
OnGotFocusRaises the GotFocus event.
OnHandleCreatedRaises the HandleCreated event.
OnHandleDestroyedRaises the HandleDestroyed event.
OnKeyDownRaises the KeyDown event.
OnKeyPressRaises the KeyPress event.
OnKeyUpRaises the KeyUp event.
OnLayoutRaises the Layout event.
OnLeaveRaises the Leave event.
OnLocationChangedRaises the LocationChanged event.
OnLostFocusRaises the LostFocus event.
OnMouseDownRaises the MouseDown event.
OnMouseEnterRaises the MouseEnter event.
OnMouseLeaveRaises the MouseLeave event.
OnMouseMoveRaises the MouseMove event.
OnMouseUpRaises the MouseUp event.
OnMouseWheelRaises the MouseWheel event.
OnMoveRaises the Move event.
OnNCPaintOccurs when the non-client area of the control needs to be redrawn.
OnPaintRaises the Paint event.
OnPaintBackgroundPaints the background of the control.
OnParentChangedRaises the ParentChanged event.
OnParentEnabledChangedRaises the EnabledChanged event when the Enabled property value of the control's container changes.
OnParentVisibleChangedRaises the VisibleChanged event when the Visible property value of the control's container changes.
OnResizeRaises the Resize event.
OnSizeChangedRaises the SizeChanged event.
OnSkinChangedRaises the SkinChanged event.
OnStyleChangedRaises the StyleChanged event.
OnTabIndexChangedRaises the TabIndexChanged event.
OnTabStopChangedRaises the TabStopChanged event.
OnTextChangedRaises the TextChanged event.
OnValidatedRaises the Validated event.
OnValidatingRaises the Validating event.
OnVisibleChangedRaises the VisibleChanged event.
PerformLayoutOverloaded. Forces the control to apply layout logic to all its child controls.
PointToClientComputes the location of the specified screen point into client coordinates.
PointToScreenComputes the location of the specified client point into screen coordinates.
ProcessDialogCharProcesses a dialog character.
ProcessDialogKeyProcesses a dialog key.
ProcessMnemonicProcesses a mnemonic character.
RecreateHandleForces the re-creation of the handle for the control.
RectangleToClientComputes the size and location of the specified screen rectangle in client coordinates.
RectangleToScreenComputes the size and location of the specified client rectangle in screen coordinates.
ReferenceEqualsDetermines whether the specified Object instances are the same instance. (Inherited from Object)
RefreshForces the control to invalidate its client area and immediately redraw itself and any child controls.
ResetBackColorResets the BackColor property to its default value.
ResetCursorResets the Cursor property to its default value.
ResetFontResets the Font property to its default value.
ResetForeColorResets the ForeColor property to its default value.
ResetSkinResets the Skin property to its default value.
ResetTextResets the Text property to its default value.
ResumeLayoutOverloaded. Resumes normal layout logic.
SelectOverloaded. Activates the control.
SelectNextControlActivates the next control.
SendToBackSends the control to the back of the z-order.
SetBoundsOverloaded. Sets the bounds of the control to the specified location and size.
SetBoundsCorePerforms the work of setting the specified bounds of this control.
SetClientSizeCoreSets the size of the client area of the control.
SetNCSizeCoreSets the non-client area of the control.
SetStyleSets the specified style bit to the specified value.
SetTopLevelSets the control as the top-level control.
SetVisibleCoreSets the control to the specified visible state.
ShowDisplays the control to the user.
SuspendLayoutTemporarily suspends the layout logic for the control.
ToStringReturns a String that represents the current Object. (Inherited from Object)
UpdateCauses the control to redraw its client area if it was invalidated.
UpdateBoundsOverloaded. Updates the bounds of the control with the current size and location.
UpdateZOrderUpdates the control in its parent's z-order.
PropertyDescription
AnchorGets or sets which edges of the control are anchored to the edges of its container.
BackColorGets or sets the background color for the control.
BackVisualGets the visual of the control.
BottomGets the distance between the bottom edge of the control and the top edge of its container's client area.
BoundsGets or sets the size and location of the control including its nonclient elements.
CanFocusGets a value indicating whether the control can receive focus.
CanSelectGets a value indicating whether the control can be selected.
CaptureGets or sets a value indicating whether the control has captured the mouse.
CausesValidationGets or sets a value indicating whether the control causes validation for any controls that require validation when it receives focus.
ClientRectangleGets the rectangle that represents the client area of the control.
ClientSizeGets or sets the height and width of the client area of the control.
ContainerGets the IContainer that contains the Component. (Inherited from Component)
ContainsFocusGets a value indicating whether the control or one of its child controls currently has the input focus.
ControlSkinGets the ControlSkin of the control.
ControlsGets the collection of controls contained within the control.
CreatedGets a value indicating whether the control has been created.
CursorGets or sets the cursor which is displayed when the mouse pointer is over the control.
DefaultBackColorGets the default background color of the control.
DefaultFontGets the default font of the control.
DefaultForeColorGets the default foreground color of the control.
DefaultSizeGets the default size of the control.
DefaultSkinGets or sets the default skin of the control.
DisplayRectangleGets the rectangle which represents the display area of the control.
DisposingGets a value indicating whether the control is in the process of being disposed of.
DockGets or sets which edge of the parent container a control is docked to.
EnabledGets or sets a value indicating whether the control can react to user interaction.
FocusedGets a value indicating whether the control has input focus.
FontGets or sets the font of the text which is displayed by the control.
ForeColorGets or sets the foreground color of the control.
HandleGets the native handle that the control is bound to.
HasChildrenGets a value indicating whether the control has one or more child controls.
HeightGets or sets the height of the control.
IsDisposedGets a value indicating whether the control has been disposed of.
IsHandleCreatedGets a value indicating whether the control has a handle associated with it.
LeftGets or sets the horizontal coordinate of a control's left edge.
LocationGets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
MaskVisualGets the Visual which is the mask of the control.
ModifierKeysGets a value indicating when one of the modifier keys (SHIFT, CTRL, and ALT) is pressed.
MouseButtonsGets a value indicating when one of the mouse buttons is clicked.
MousePositionGets the position of the mouse cursor in global coordinates.
NCVisualGets the non-client visual element of the control.
NameGets or sets the name of the control.
OverlayVisualGets a visual placed over everything.
ParentGets or sets the parent container of the control.
ParkedGets a value indicating whether the control is parked.
RecreatingHandleGets a value indicating whether the control is currently re-creating its handle.
RightGets the distance between the right edge of the control and the left edge of its container.
SiteGets or sets the ISite of the Component. (Inherited from Component)
SizeGets or sets the height and width of the control.
SkinGets or sets the skin of the control.
SystemMenuGets or sets the SystemMenu of the control.
TabIndexGets or sets the tab order of the control within its container.
TabStopGets or sets a value indicating whether the user can use the TAB key to focus to the control.
TagGets or sets the object that contains data about the control.
TextGets or sets the text which is associated with the control.
TopGets or sets the vertical coordinate of the control's top edge.
TopLevelControlGets the parent control that is not parented by another Windows Forms control.
VisibleGets or sets a value indicating whether the control is visible.
VisualGets the visual element of the control.
WidthGets or sets the width of the control.
EventDescription
BackColorChangedHandles the changes of the BackColor property.
CausesValidationChangedHandles the changes of the CausesValidation property.
ClickHandles the click event when the control is clicked.
ClientSizeChanged
ControlAddedHandles the addition of a new control when it is added to the Control.ControlCollection.
ControlRemovedHandles the remove of a control from the Control.ControlCollection.
CursorChangedHandles the changes of the Cursor property.
DisposedAdds an event handler to listen to the Disposed event on the component. (Inherited from Component)
DockChangedHandles the changes of the Dock property.
DoubleClickHandles the double-clicked event of the control.
EnabledChangedHandles the changes of the Enabled property.
EnterHandles the entered event of the control.
FontChangedHandles the changes of the Font property.
ForeColorChangedHandles the changes of the ForeColor property.
GotFocusHandles the focus reception of the control.
HandleCreatedHandles the creation of a handle for the control.
HandleDestroyedHandles the control's handle which is in the process of being destroyed.
KeyDownHandles the pressed key event when a key is pressed and the control has focus.
KeyPressHandles the pressed key event when a key is pressed and the control has focus.
KeyUpHandles the release key event when a key is released and the control has focus.
LayoutHandles the changes of control when it should reposition its child controls.
LeaveHandles the input focus when it leaves the control.
LocationChangedHandles the changes of the Location property.
LostFocusHandles the focus on the control when it loses focus.
MouseDownHandles the mouse event when the mouse pointer is over the control and a mouse button is pressed.
MouseEnterHandles the mouse event when the mouse pointer enters the control.
MouseLeaveHandles the mouse event when the mouse pointer leaves the control.
MouseMoveHandles the mouse event when the mouse pointer is moved over the control.
MouseUpHandles the mouse event when the mouse pointer is over the control and a mouse button is released.
MouseWheelHandles the mouse event when the mouse wheel moves while the control has focus.
MoveHandles the motion of the control when it is moved.
PaintHandles the paint event of the control when it is redrawn.
ParentChangedHandles the changes of the Parent property.
ResizeHandles the size changes of the control when it is resized.
SizeChangedHandles the changes of the Size property.
SkinChangedHandles the changes of the Skin property.
StyleChangedHandles the changes of the control style.
TabIndexChangedHandles the changes of the TabIndex property.
TabStopChangedHandles the changes of the TabStop property.
TextChangedHandles the changes of the Text property.
ValidatedHandles the validation of the control when it is finished validating.
ValidatingHandles the validation of the control when it is validating.
VisibleChangedDetermines the value of the VScroll property.

Inheritance Hierarchy

Object
Component
Control
AsyncImageBox
AsyncMovieBox
ButtonBase
ExtAppContainer
GroupBox
ImageBox
Label
Link
ListControl
MonthCalendar
MovieBox
ProgressBar
ScrollBar
ScrollableControl
Splitter
TabControl
TextBoxBase
TreeView
VideoBox

Class Information

NamespaceSystem.Windows.Forms
Flash LibrarySystem.Windows.Forms.scl
Flash Library Version2.0.0.2118
Silverlight LibrarySystem.Windows.Forms.dll



© 2003-2007 NETiKA Technologies. All rights reserved.