NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control Members

Public:

Constructor

Control Constructor Creates a new Control. This constructor is typically not called directly, but rather from a the constructor of a descendant class.

Properties

Bottom The bottom coordinate of this control.
Bounds The bounds of this control. This is the window coordinates of the control in parent client coordinates.
CanFocus Checks if this control can receive focus. The result is true if the control has a handle and if it and all of its parent controls are both visible and enabled.
CanSelect Checks if this control can be selected. The result is true if the control is contained in a form and if all of its parent controls are both visible and enabled.
Capture If this control has captured the mouse then this will return true.
CausesValidation Indicates whether entering this control causes validation on the controls requiring validation. This is set to false usually for things like the Help button, etc...
ClientRectangle The client rect of the control.
ClientSize The size of the clientRect.
ContainsFocus Indicates whether the control or one of its children currently has the system focus.
Controls Collection of child controls.
Created Returns true if the control has been created.
DisplayRectangle Returns the client rect of the display area of the control. For the base control class, this is identical to getClientRect. However, inheriting controls may want to change this if their client area differs from their display area.
Disposed Indicates that the control has been disposed, and is no longer a valid Windows control even though the object instance is still alive.
Disposing Indicates that the control is in the process of being beendisposed, and is no longer a valid Windows control even though the object instance is still alive.
Enabled The current enabled state of this control.
Focused Returns true if this control has focus.
Handle The HWND handle that this control is bound to. If the handle has not yet been created, this will force handle creation.
HandleCreated Whether or not this control has a handle associated with it.
Height The height of this control
Left The left coordinate of this control.
Location The location of this control.
ModifierKeys Retrieves the current state of the modifier keys. This will check the current state of the shift, control, and alt keys.
MouseButtons The current state of the mouse buttons. This will check the current state of the left, right, and middle mouse buttons.
MousePosition The current position of the mouse in screen coordinates.
Parent The parent of this control.
RecreatingHandle This is true if the control is currently recreating its handle.
Right The right coordinate of this control.
Site (inherited from MarshalByRefComponent) Gets or sets the site of the component.
Size The size of this control.
TabIndex The tab index of this control. A tab index may consist of any valid integer number greater than or equal to zero. If more than one control on the same parent control has the same tab index, the z-order of the controls will be used to determine the order to pick the controls.
TabStop A boolean value indicating whether the user can give the focus to this control using the TAB key.
Text The current text associated with this control.
Top Top coordinate of this control.
TopLevel true if this control is a top level window, meaning that it has no parent.
TopLevelControl The top level control that contains this control. This doesn't have to be the same as the value returned from getForm since forms can be parented to other controls.
Visible Controls whether the control is visible.
Width The width of this control.

Methods

BringToFront Brings this control to the front of the zorder.
CallWndProc Dispatch the method to this window's wndProc directly.
Contains Checks if a control is a child of this control.
CreateControl Forces the creation of the control. This includes the creation of the handle, and any child controls.
Dispose Frees all resources assocaited with this control. This method may not be called at runtime. Any resources used by the control should be setup to be released when the control is GC'ed. Inheriting classes should always call base.dispose.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
Focus Attempts to set focus to this control.
FromChildHandle Returns the control that is currently associated with handle. This method will search up the HWND parent chain until it finds some handle that is associated with with a control. This method is more robust that fromHandle because it will correctly return controls that own more than one handle.
FromHandle Returns the control that is currently associated with handle.
GetChildAtPoint Retrieves the child control that is located at the specified client coordinates.
GetContainer (inherited from MarshalByRefComponent) Returns the component's container.
GetContainerControl Returns the closest ContainerControl in the control's chain of parent controls and forms.
GetDesignMode (inherited from MarshalByRefComponent) Determines whether the component is currently in design mode.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) This method is used return a lifetime service object that is used to control the lifetime policy to the object. For the default Lifetime service this will be an object of type ILease.
GetNextControl Retrieves the next control in the tab order of child controls.
GetServiceObject (inherited from MarshalByRefComponent) The implementation of IServiceObjectProvider
GetType (inherited from Object) Gets the Type of the Object.
Hide Hides the control by setting the visible property to false;
InitializeLifetimeService (inherited from MarshalByRefObject)  
Invalidate Overloaded. [To be supplied.]
IsMnemonic Determines if charCode is the mnemonic character in text. The mnemonic character is the character imediately following the first instance of "&" in text
PerformLayout Overloaded. [To be supplied.]
PointToClient Computes the location of the screen point p in client coords.
PointToScreen Computes the location of the client point p in screen coords.
PreProcessMessage This method is called by the application's message loop to pre-process input messages before they are dispatched. Possible values for the msg.message field are WM_KEYDOWN, WM_SYSKEYDOWN, WM_CHAR, and WM_SYSCHAR. If this method processes the message it must return true, in which case the message loop will not dispatch the message. For WM_KEYDOWN and WM_SYSKEYDOWN messages, preProcessMessage() first calls processCmdKey() to check for command keys such as accelerators and menu shortcuts. If processCmdKey() doesn't process the message, then isInputKey() is called to check whether the key message represents an input key for the control. Finally, if isInputKey() indicates that the control isn't interested in the key message, then processDialogKey() is called to check for dialog keys such as TAB, arrow keys, and mnemonics. For WM_CHAR messages, preProcessMessage() first calls isInputChar() to check whether the character message represents an input character for the control. If isInputChar() indicates that the control isn't interested in the character message, then processDialogChar() is called to check for dialog characters such as mnemonics. For WM_SYSCHAR messages, preProcessMessage() calls processDialogChar() to check for dialog characters such as mnemonics. When overriding preProcessMessage(), a control should return true to indicate that it has processed the message. For messages that aren't processed by the control, the result of "base.preProcessMessage()" should be returned. Controls will typically override one of the more specialized methods (isInputChar(), isInputKey(), processCmdKey(), processDialogChar(), or processDialogKey()) instead of overriding preProcessMessage().
RectangleToClient Computes the location of the screen rectangle r in client coords.
RectangleToScreen Computes the location of the client rectangle r in screen coords.
Refresh Forces the control to invalidate and immediately repaint itself and any children.
ResetText Resets the text to it's default value.
ResumeLayout Overloaded. [To be supplied.]
Scale Overloaded. [To be supplied.]
Select Activates this control.
SelectNextControl Selects the next control following ctl.
SendMessage Overloaded. [To be supplied.]
SendToBack sends this control to the back of the z-order
SetBounds Overloaded. [To be supplied.]
SetClientSize Sets the height and width of the client area of the control.
SetLocation Sets the location of this control.
SetNewControls Performs the work of setting the array of the child controls contained in this control.
SetSize Sets the size of this control.
ShouldPersistLocation Determines if the Location property needs to be persisted.
ShouldPersistSize Determines if the Size property needs to be persisted.
ShouldPersistText Determines if the Text property needs to be persisted.
Show Makes the control display by setting the visible property to true
SuspendLayout Suspends the layout logic for the control.
ToString (inherited from MarshalByRefComponent) Basic Implementation of toString() for all controls.
Update Forces the control to paint any currently invalid areas.

Events

Click [To be supplied.]
ControlAdded [To be supplied.]
ControlRemoved [To be supplied.]
CreateHandle [To be supplied.]
DestroyHandle [To be supplied.]
DoubleClick [To be supplied.]
Enter [To be supplied.]
GotFocus [To be supplied.]
KeyDown [To be supplied.]
KeyPress [To be supplied.]
KeyUp [To be supplied.]
Layout [To be supplied.]
Leave [To be supplied.]
LostFocus [To be supplied.]
MouseDown [To be supplied.]
MouseEnter [To be supplied.]
MouseHover [To be supplied.]
MouseLeave [To be supplied.]
MouseMove [To be supplied.]
MouseUp [To be supplied.]
MouseWheel [To be supplied.]
Move [To be supplied.]
PropertyChanged [To be supplied.]
Resize [To be supplied.]
Validated [To be supplied.]
Validating [To be supplied.]

Protected:

Properties

CreateParams Returns the CreateParams used to create the handle for this control. Inheriting classes should call base.CreateParams in the manor below:
InternalHandle Returns the current value of the handle. This may be zero if the handle has not been created.
ParkingFormHandle Determines the handle that can be used to parent this control to a hidden parking form.
WindowText The current text of the Window; if the window has not yet been created, stores it in the control. If the window has been created, stores the text in the underlying win32 control. This property should be used whenever you want to get at the win32 control's text. For all other cases, use the Text property- but note that this is overridable, and any of your code that uses it will use the overridden version in controls that subclass your own.

Methods

AddEventHandler [To be supplied.]
AssignParent Assigns a new parent control. Sends out the appropriate property change notifications for properties that are affected by the change of parent.
CreateControlsInstance Constructs the new instance of the Controls collection objects. Subclasses should not call base.CreateControlsInstance.
CreateHandle Creates a handle for this control. This method is called by the framework, this should not be called. Inheriting classes should always call base.createHandle when overriding this method.
DefWndProc Sends the message to the default window proc.
DestroyHandle Destroys the handle associated with this control. Inheriting classes should always call base.destroyHandle.
Finalize [To be supplied.]
GetEventHandler [To be supplied.]
GetStyle Retrieves the current value of the specified bit in the control's style. NOTE: This is control style, not the Win32 style of the hwnd.
InitLayout Called after the control has been added to another container.
InvokeGotFocus [To be supplied.]
InvokeLostFocus [To be supplied.]
InvokeOnClick [To be supplied.]
IsInputChar Determines if charCode is an input character that the control wants. This method is called during window message pre-processing to determine whether the given input character should be pre-processed or sent directly to the control. If isInputChar returns true, the given character is sent directly to the control. If isInputChar returns false, the character is pre-processed and only sent to the control if it is not consumed by the pre-processing phase. The pre-processing of a character includes checking whether the character is a mnemonic of another control.
IsInputKey Determines if keyData is an input key that the control wants. This method is called during window message pre-processing to determine whether the given input key should be pre-processed or sent directly to the control. If isInputKey returns true, the given key is sent directly to the control. If isInputKey returns false, the key is pre-processed and only sent to the control if it is not consumed by the pre-processing phase. Keys that are pre-processed include TAB, RETURN, ESCAPE, and arrow keys.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnControlAdded Called when a child control is added to this control.
OnControlRemoved Called when a child control is removed from this control.
OnCreateControl Called when the control is first created.
OnCreateHandle Inheriting classes should override this method to find out when the handle has been created. Call base.onCreateHandle first.
OnDestroyHandle Inheriting classes should override this method to find out when the handle is about to be destroyed. Call base.onDestroyHandle last.
OnDoubleClick Inheriting classes should override this method to handle this event. Call base.onDoubleClick to send this event to any registered event listeners.
OnEnter Inheriting classes should override this method to handle this event. Call base.onEnter to send this event to any registered event listeners.
OnGotFocus Inheriting classes should override this method to handle this event. Call base.onGotFocus to send this event to any registered event listeners.
OnKeyDown Inheriting classes should override this method to handle this event. Call base.onKeyDown to send this event to any registered event listeners.
OnKeyPress Inheriting classes should override this method to handle this event. Call base.OnKeyPress to send this event to any registered event listeners.
OnKeyUp Inheriting classes should override this method to handle this event. Call base.onKeyUp to send this event to any registered event listeners.
OnLayout Core layout logic. Inheriting controls should override this function to do any custom layout logic. It is not neccessary to call base.layoutCore, however for normal docking and anchoring functions to work, base.layoutCore must be called.
OnLeave Inheriting classes should override this method to handle this event. Call base.onLeave to send this event to any registered event listeners.
OnLostFocus Inheriting classes should override this method to handle this event. Call base.onLostFocus to send this event to any registered event listeners.
OnMouseDown Inheriting classes should override this method to handle this event. Call base.onMouseDown to send this event to any registered event listeners.
OnMouseEnter Inheriting classes should override this method to handle this event. Call base.onMouseEnter to send this event to any registered event listeners.
OnMouseHover Inheriting classes should override this method to handle this event. Call base.onMouseHover to send this event to any registered event listeners.
OnMouseLeave Inheriting classes should override this method to handle this event. Call base.onMouseLeave to send this event to any registered event listeners.
OnMouseMove Inheriting classes should override this method to handle this event. Call base.onMouseMove to send this event to any registered event listeners.
OnMouseUp Inheriting classes should override this method to handle this event. Call base.onMouseUp to send this event to any registered event listeners.
OnMouseWheel Inheriting classes should override this method to handle this event. Call base.onMouseWheel to send this event to any registered event listeners.
OnMove Inheriting classes should override this method to handle this event. Call base.onMove to send this event to any registered event listeners.
OnParentPropertyChanged This method is called by the parent control when any property changes on the parent. This can be overriden by inheriting classes, however they must call base.OnParentPropertyChanged.
OnPropertyChanged Inheriting classes should override this method to handle this event. Call base.OnPropertyChanged to send this event to any registered event listeners.
OnResize Inheriting classes should override this method to handle this event. Call base.onResize to send this event to any registered event listeners.
OnValidated Inheriting classes should override this method to handle this event. Call base.onResize to send this event to any registered event listeners.
OnValidating Inheriting classes should override this method to handle this event. Call base.onResize to send this event to any registered event listeners.
ParentChanged Called by the framework after a control's parent changes. This allows (for example) child controls to automatically hook events on their parent, giving better encapsulation.
ProcessCmdKey Processes a command key. This method is called during message pre-processing to handle command keys. Command keys are keys that always take precedence over regular input keys. Examples of command keys include accelerators and menu shortcuts. The method must return true to indicate that it has processed the command key, or false to indicate that the key is not a command key. processCmdKey() first checks if the control has a context menu, and if so calls the menu's processCmdKey() to check for menu shortcuts. If the command key isn't a menu shortcut, and if the control has a parent, the key is passed to the parent's processCmdKey() method. The net effect is that command keys are "bubbled" up the control hierarchy. When overriding processCmdKey(), a control should return true to indicate that it has processed the key. For keys that aren't processed by the control, the result of "base.processCmdKey()" should be returned. Controls will seldom, if ever, need to override this method.
ProcessDialogChar Processes a dialog character. This method is called during message pre-processing to handle dialog characters, such as control mnemonics. This method is called only if the isInputChar() method indicates that the control isn't interested in the character. processDialogChar() simply sends the character to the parent's processDialogChar() method, or returns false if the control has no parent. The Form class overrides this method to perform actual processing of dialog characters. When overriding processDialogChar(), a control should return true to indicate that it has processed the character. For characters that aren't processed by the control, the result of "base.processDialogChar()" should be returned. Controls will seldom, if ever, need to override this method.
ProcessDialogKey Processes a dialog key. This method is called during message pre-processing to handle dialog characters, such as TAB, RETURN, ESCAPE, and arrow keys. This method is called only if the isInputKey() method indicates that the control isn't interested in the key. processDialogKey() simply sends the character to the parent's processDialogKey() method, or returns false if the control has no parent. The Form class overrides this method to perform actual processing of dialog keys. When overriding processDialogKey(), a control should return true to indicate that it has processed the key. For keys that aren't processed by the control, the result of "base.processDialogChar()" should be returned. Controls will seldom, if ever, need to override this method.
ProcessKeyEventArgs Processes a key message. This method is called when a control receives a keyboard message. The method is responsible for generating the appropriate key events for the message by calling OnKeyPress(), onKeyDown(), or onKeyUp(). The m parameter contains the window message that must be processed. Possible values for the m.msg field are WM_CHAR, WM_KEYDOWN, WM_SYSKEYDOWN, WM_KEYUP, WM_SYSKEYUP, and WM_IMECHAR. When overriding processKeyEventArgs(), a control should return true to indicate that it has processed the key. For keys that aren't processed by the control, the result of "base.processKeyEventArgs()" should be returned. Controls will seldom, if ever, need to override this method.
ProcessKeyPreview Previews a keyboard message. This method is called by a child control when the child control receives a keyboard message. The child control calls this method before generating any keyboard events for the message. If this method returns true, the child control considers the message consumed and does not generate any keyboard events. The m parameter contains the window message to preview. Possible values for the m.msg field are WM_CHAR, WM_KEYDOWN, WM_SYSKEYDOWN, WM_KEYUP, and WM_SYSKEYUP. processKeyPreview() simply sends the character to the parent's processKeyPreview() method, or returns false if the control has no parent. The Form class overrides this method to perform actual processing of dialog keys. When overriding processKeyPreview(), a control should return true to indicate that it has processed the key. For keys that aren't processed by the control, the result of "base.processKeyEventArgs()" should be returned.
ProcessMnemonic Processes a mnemonic character. This method is called to give a control the opportunity to process a mnemonic character. The method should check if the control is in a state to process mnemonics and if the given character represents a mnemonic. If so, the method should perform the action associated with the mnemonic and return true. If not, the method should return false. Implementations of this method often use the isMnemonic() method to check if the given character matches a mnemonic in the control's text, for example:
if (canSelect() && isMnemonic(charCode, getText()) {
    // perform action associated with mnemonic
    }

This default implementation of processMnemonic() simply returns false to indicate that the control has no mnemonic.

RaiseEvent [To be supplied.]
RaiseKeyEventArgs Raises the event associated with key with the event data of e and a sender of this control.
RaiseMouseEventArgs Raises the event associated with key with the event data of e and a sender of this control.
RaisePropertyChangedEvent Raises the property changed event. This creates the needed event data and then calls OnPropertyChanged.
RecreateHandle Forces the recreation of the handle for this control. Inheriting controls must call base.recreateHandle.
ReflectMessage Reflects the specified message to the control that is bound to hWnd.
RemoveEventHandler [To be supplied.]
RemoveEventHandlers [To be supplied.]
ResumeLayout Overloaded. [To be supplied.]
ScaleCore Performs the work of scaling the entire control and any child controls.
SendMessage Overloaded. [To be supplied.]
SetBoundsCore Performs the work of setting the bounds of this control. Inheriting classes can overide this function to add size restrictions. Inheriting classes must call base.setBoundsCore to actually cause the bounds of the control to change.
SetClientSizeCore Performs the work of setting the size of the client area of the control.
SetStyle Sets the current value of the specified bit in the control's style. NOTE: This is control style, not the Win32 style of the hwnd.
UpdateBounds Overloaded. [To be supplied.]
UpdateStyles Forces styles to be reapplied to the handle. This function will call CreateParams to get the styles to apply.
UpdateZOrder Updates this control in it's parent's zorder.
WndProc Base wndProc. All messages are sent to wndProc after getting filtered through the preProcessMessage function. Inheriting controls should call base.wndProc for any messages that they don't handle.
WndProcException Called when an exception occurs in dispatching messages through the main window procedure.

Fields

ControlKeyboardRoutingSwitch [To be supplied.]

Event Hookup:

Methods

AddOnClick Adds an event handler for the click event. The click event occurs when the user clicks in the client area of the control.
AddOnControlAdded Adds an event handler for the ControlAdded event. This event is raised after a control is added as a child to this control.
AddOnControlRemoved Adds an event handler for the ControlRemoved event. This event is raised after a child control is removed from this control.
AddOnCreateHandle Adds an event handler for the createHandle event. The createHandle event occurs immediately after the control's handle is created.
AddOnDestroyHandle Adds an event handler for the destroyHandle event. The destroyHandle event occurs immediately before the control's handle is destroyed.
AddOnDoubleClick Adds an event handler for the doubleClick event. The doubleClick event occurs when the user double clicks in the client area of the control.
AddOnEnter Adds an event handler for the enter event. The enter event occurs when focus enters this control. This doesn't imply that this control has focus, but rather that this control or some child control of this control has gotten focus.
AddOnGotFocus Adds an event handler for the gotFocus event. The gotFocus event occurs when the this control gains focus.
AddOnKeyDown Adds an event handler for the keyDown event. The keyDown event occurs when the user presses a key down.
AddOnKeyPress Adds an event handler for the keyPress event. The keyPress event occurs when the user presses a key.
AddOnKeyUp Adds an event handler for the keyUp event. The keyUp event occurs when the user releases a key.
AddOnLayout Adds an event handler for the layout event. The layout event occurs when any event occurs that would cause the control to layout child controls. These events include; resize, show/hide child controls, add/remove child controls. This event should be used to perform any custom layout logic.
AddOnLeave Adds an event handler for the leave event. The leave event occurs when focus leaves this control. This doesn't imply that this control lost focus, but rather that focus has been moved out of this control and any child controls.
AddOnLostFocus Adds an event handler for the lostFocus event. The lostFocus event occurs when this control looses focus.
AddOnMouseDown Adds an event handler for the mouseDown event. The mouseDown event occurs when the user presses the mouseDown over this control.
AddOnMouseEnter Adds an event handler for the mouseEnter event. The mouseEnter event occurs when the mouse first moves over this control.
AddOnMouseHover Adds an event handler for the mouseHover event. The mouseHover event occurs after the mouse is inside a control for an amount.
AddOnMouseLeave Adds an event handler for the mouseLeave event. The mouseLeave event occurs when the mouse first moves out of this control.
AddOnMouseMove Adds an event handler for the mouseMove event. The mouseMove event occurs whenever the user moves the mouse over this control.
AddOnMouseUp Adds an event handler for the mouseUp event. The mouseUp event occurs when the user releases a mouse button inside the control.
AddOnMouseWheel Adds an event handler for the mouseWheel event. The mouseWheel event occurs when the user scrolls the mouse wheel up or down. The delta value in the event data indicates the amount that the mouse wheel has moved. The Microsoft standards indicate that the view should scroll by System.WinForms.SystemInformation.getMouseWheelScrollLines() when the delta value has reach win.WHEEL_DELTA. If a mouseWheel event occurs with a value less that WHEEL_DELTA, the control should either increment a stored value and wait until the total delta is an increment of WHEEL_DELTA, or scroll the view a percentage of MouseWheelScrollLines. NOTE: A press of the mouseWheel will generate a mouseDown event with the middle button pressed.
AddOnMove Adds an event handler for the move event. The move event occurs when the controls location changes.
AddOnPropertyChanged Adds an event handler for the property changed event. This event occurs when any property on the control has been changed for any reason.
AddOnResize Adds an event handler for the resize event. The resize event occurs when the bounds of the control change. This event may be fired from the constructor of base controls.
AddOnValidated Adds an event handler for the validated event. The validated event occurs when a control was successfully validated.
AddOnValidating Adds an event handler for the validating event. The validating event occurs when the control loses focus and a control that causes validation gains focus. This is where users can write code to validate the current values of the control.
RemoveOnClick Removes the given handler for the "OnClick" event. If there are duplicate entries, ALL are removed.
RemoveOnControlAdded Removes the given handler for the "ControlAdded" event. If there are duplicate entries, ALL are removed.
RemoveOnControlRemoved Removes the given handler for the "ControlRemoved" event. If there are duplicate entries, ALL are removed.
RemoveOnCreateHandle Removes the given handler for the "createHandle" event. If there are duplicate entries, ALL are removed.
RemoveOnDestroyHandle Removes the given handler for the "destroyHandle" event. If there are duplicate entries, ALL are removed.
RemoveOnDoubleClick Removes the given handler for the "OnDoubleClick" event. If there are duplicate entries, ALL are removed.
RemoveOnEnter Removes the given handler for the "OnEnter" event. If there are dfinal uplicate entries, ALL are removed.
RemoveOnGotFocus Removes the given handler for the "OnGotFocus" event. If there are duplicate entries, ALL are removed.
RemoveOnKeyDown Removes the given handler for the "OnKeyDown" event. If there are duplicate entries, ALL are removed.
RemoveOnKeyPress Removes the given handler for the "OnKeyPress" event. If there are duplicate entries, ALL are removed.
RemoveOnKeyUp Removes the given handler for the "OnKeyUp" event. If there are duplicate entries, ALL are removed.
RemoveOnLayout Removes the given handler for the layout event. If there are duplicate entries, ALL are removed.
RemoveOnLeave Removes the given handler for the "OnLeave" event. If there are duplicate entries, ALL are removed.
RemoveOnLostFocus Removes the given handler for the "OnLostFocus" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseDown Removes the given handler for the "OnMouseDown" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseEnter Removes the given handler for the "OnMouseEnter" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseHover Removes the given handler for the "OnMouseHover" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseLeave Removes the given handler for the "OnMouseLeave" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseMove Removes the given handler for the "OnMouseMove" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseUp Removes the given handler for the "OnMouseUp" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseWheel Removes the given handler for the "OnMouseWheel" event. If there are duplicate entries, ALL are removed.
RemoveOnMove Removes the given handler for the "OnMove" event. If there are duplicate entries, ALL are removed.
RemoveOnPropertyChanged Removes an event handler for the property changed event. This event occurs when any property on the control has been changed for any reason.
RemoveOnResize Removes the given handler for the "OnResize" event. If there are duplicate entries, ALL are removed.
RemoveOnValidated Removes an event handler for the validated event. The validated event occurs when a control was successfully validated.
RemoveOnValidating Removes an event handler for the validating event. The validating event occurs when the control loses focus and a control that causes validation gains focus. This is where users can write code to validate the current values of the control.

See Also

Control Class | System.WinForms Namespace