ControlExtensions
Wisej.Web.Markup.ControlExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.ControlExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds extension methods to the class.
Sets the accessible description for the specified control.
TControl
control
The control for which to set the accessible description.
accessibleDescription
The description to be set for accessibility purposes.
Returns: . The control with the updated accessible description.
Sets the accessible name for the specified control.
TControl
control
The control for which to set the accessible name.
accessibleName
The name to be set for accessibility purposes.
Sets the accessible role for the specified control.
TControl
control
The control for which to set the accessible role.
accessibleRole
The role to be set for accessibility purposes.
Sets the AllowDrop property for the specified control, enabling or disabling drag-and-drop operations.
TControl
control
The control for which to set the AllowDrop property.
allowDrop
A boolean value indicating whether to allow drag-and-drop operations. Default is false
.
Executes a specified action on the control and returns the control.
TControl
control
The control on which the action is to be performed.
action
The action to be executed on the control.
This method allows for chaining operations on a control by executing an action and returning the control itself.
Sets the anchor styles for the specified control.
TControl
control
The control for which to set the anchor styles.
anchors
The anchor styles to be applied to the control.
TControl
control
value
Sets the auto-scroll offset for the specified control.
TControl
control
The control for which to set the auto-scroll offset.
offset
The point representing the auto-scroll offset.
Sets the AutoSize property for the specified control, enabling or disabling automatic resizing.
TControl
control
The control for which to set the AutoSize property.
autoSize
A boolean value indicating whether to enable automatic resizing. Default is false
.
Sets the background color for the specified control.
TControl
control
The control for which to set the background color.
color
The color to be set as the background color.
Sets the background image for the specified control.
TControl
control
The control for which to set the background image.
image
The image to be set as the background image.
Sets the layout of the background image for the specified control.
TControl
control
The control for which to set the background image layout.
layout
The layout to be applied to the background image.
TControl
control
The control for which to set the bounds.
bounds
The rectangle representing the new bounds of the control.
Sets the top and left position of the specified control, maintaining its current width and height.
TControl
control
The control for which to set the top and left position.
top
The new top position of the control.
left
The new left position of the control.
Sets the bounds of the specified control using specified top, left, width, and height values.
TControl
control
The control for which to set the bounds.
top
The new top position of the control.
left
The new left position of the control.
width
The new width of the control.
height
The new height of the control.
Sets the capture property for the specified control, determining whether the control has captured the mouse.
TControl
control
The control for which to set the capture property.
capture
A boolean value indicating whether the control should capture the mouse. Default is false
.
Sets the CausesValidation property for the specified control, determining whether the control causes validation to be performed on any controls that require validation.
TControl
control
The control for which to set the CausesValidation property.
causesValidation
A boolean value indicating whether the control causes validation. Default is true
.
Sets the client size for the specified control.
TControl
control
The control for which to set the client size.
clientSize
The size to be set as the client size of the control.
Sets the context menu for the specified control.
TControl
control
The control for which to set the context menu.
contextMenu
The context menu to be associated with the control.
Adds an array of child controls to the specified control.
TControl
control
The control to which the child controls will be added.
children
An array of child controls to be added.
Sets the cursor for the specified control.
TControl
control
The control for which to set the cursor.
cursor
The cursor to be used by the control.
Sets the dock style for the specified control.
TControl
control
The control for which to set the dock style.
dockPosition
The dock style to be applied to the control.
Sets the enabled state for the specified control.
TControl
control
The control for which to set the enabled state.
enabled
A boolean value indicating whether the control should be enabled. Default is true
.
TControl
control
value
Sets the font for the specified control.
TControl
control
The control for which to set the font.
font
The font to be applied to the control.
Sets the font size for the specified control while maintaining the current font family.
TControl
control
The control for which to set the font size.
size
The new font size to be applied to the control.
Sets the foreground color for the specified control.
TControl
control
The control for which to set the foreground color.
foreColor
The color to be set as the foreground color.
Sets the height for the specified control.
TControl
control
The control for which to set the height.
height
The new height to be applied to the control.
Attaches an action to be executed when the control loses focus.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control loses focus.
This method allows you to specify an action that will be executed when the control's Leave event is triggered.
Sets the left position for the specified control.
TControl
control
The control for which to set the left position.
left
The new left position to be applied to the control.
Sets the location for the specified control.
TControl
control
The control for which to set the location.
location
The point representing the new location of the control.
Sets the location for the specified control using left and top coordinates.
TControl
control
The control for which to set the location.
left
The new left position of the control.
top
The new top position of the control.
TControl
control
The control for which to set the margin.
margin
The padding to be set as the margin of the control.
Sets the margin for the specified control using an array of integers.
TControl
control
The control for which to set the margin.
padding
An array of integers representing the margin. Must be 1 (all), 2 (horizontal, vertical), or 4 (left, top, right, bottom).
This method allows setting the margin using different configurations of padding values.
Throws:
TControl
control
The control for which to set the maximum size.
size
The size to be set as the maximum size of the control.
Sets the maximum size for the specified control using width and height values.
TControl
control
The control for which to set the maximum size.
width
The maximum width of the control.
height
The maximum height of the control.
TControl
control
The control for which to set the minimum size.
size
The size to be set as the minimum size of the control.
Sets the minimum size for the specified control using width and height values.
TControl
control
The control for which to set the minimum size.
width
The minimum width of the control.
height
The minimum height of the control.
Sets the name for the specified control.
TControl
control
The control for which to set the name.
name
The name to be assigned to the control.
Attaches an action to be executed when the AutoSize property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the AutoSize property changes.
This method allows you to specify an action that will be executed when the control's AutoSizeChanged event is triggered.
Attaches an action to be executed when the BackColor property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the BackColor property changes.
This method allows you to specify an action that will be executed when the control's BackColorChanged event is triggered.
Attaches an action to be executed when the BackgroundImage property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the BackgroundImage property changes.
This method allows you to specify an action that will be executed when the control's BackgroundImageChanged event is triggered.
Attaches an action to be executed when the BackgroundImageLayout property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the BackgroundImageLayout property changes.
This method allows you to specify an action that will be executed when the control's BackgroundImageLayoutChanged event is triggered.
Attaches an action to be executed when the BindingContext property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the BindingContext property changes.
This method allows you to specify an action that will be executed when the control's BindingContextChanged event is triggered.
Attaches an action to be executed when the CausesValidation property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the CausesValidation property changes.
This method allows you to specify an action that will be executed when the control's CausesValidationChanged event is triggered.
Attaches an action to be executed when the control is clicked.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control is clicked.
This method allows you to specify an action that will be executed when the control's Click event is triggered.
Attaches an action to be executed when the ClientSize property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the ClientSize property changes.
This method allows you to specify an action that will be executed when the control's ClientSizeChanged event is triggered.
Attaches an action to be executed when the ContextMenu property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the ContextMenu property changes.
This method allows you to specify an action that will be executed when the control's ContextMenuChanged event is triggered.
Attaches an action to be executed when a control is added to the control's collection.
TControl
control
The control to which the action will be attached.
action
The action to be executed when a control is added, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's ControlAdded event is triggered.
Attaches an action to be executed when a control is removed from the control's collection.
TControl
control
The control to which the action will be attached.
action
The action to be executed when a control is removed, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's ControlRemoved event is triggered.
Attaches an action to be executed when the Cursor property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the Cursor property changes.
This method allows you to specify an action that will be executed when the control's CursorChanged event is triggered.
Attaches an action to be executed when the Dock property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the Dock property changes.
This method allows you to specify an action that will be executed when the control's DockChanged event is triggered.
Attaches an action to be executed when the control is double-clicked.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control is double-clicked.
This method allows you to specify an action that will be executed when the control's DoubleClick event is triggered.
Attaches an action to be executed when a drag-and-drop operation is completed on the control.
TControl
control
The control to which the action will be attached.
action
The action to be executed when a drag-and-drop operation is completed, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's DragDrop event is triggered.
Attaches an action to be executed when an object is dragged into the control's bounds.
TControl
control
The control to which the action will be attached.
action
The action to be executed when an object is dragged into the control, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's DragEnter event is triggered.
Attaches an action to be executed when an object is dragged out of the control's bounds.
TControl
control
The control to which the action will be attached.
action
The action to be executed when an object is dragged out of the control.
This method allows you to specify an action that will be executed when the control's DragLeave event is triggered.
Attaches an action to be executed when an object is dragged over the control's bounds.
TControl
control
The control to which the action will be attached.
action
The action to be executed when an object is dragged over the control, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's DragOver event is triggered.
Attaches an action to be executed when the Enabled property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the Enabled property changes.
This method allows you to specify an action that will be executed when the control's EnabledChanged event is triggered.
Attaches an action to be executed when the control receives focus.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control receives focus.
This method allows you to specify an action that will be executed when the control's Enter event is triggered.
Attaches an action to be executed when the Font property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the Font property changes.
This method allows you to specify an action that will be executed when the control's FontChanged event is triggered.
Attaches an action to be executed when the ForeColor property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the ForeColor property changes.
This method allows you to specify an action that will be executed when the control's ForeColorChanged event is triggered.
Attaches an action to be executed when the control receives focus.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control receives focus.
This method allows you to specify an action that will be executed when the control's GotFocus event is triggered.
Attaches an action to be executed when the control's handle is created.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control's handle is created.
This method allows you to specify an action that will be executed when the control's HandleCreated event is triggered.
Attaches an action to be executed when the control's handle is destroyed.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control's handle is destroyed.
This method allows you to specify an action that will be executed when the control's HandleDestroyed event is triggered.
Attaches an action to be executed when a help request is made for the control.
TControl
control
The control to which the action will be attached.
action
The action to be executed when a help request is made, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's HelpRequested event is triggered.
Attaches an action to be executed when a key is pressed while the control has focus.
TControl
control
The control to which the action will be attached.
action
The action to be executed when a key is pressed, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's KeyDown event is triggered.
Attaches an action to be executed when a key is pressed and released while the control has focus.
TControl
control
The control to which the action will be attached.
action
The action to be executed when a key is pressed and released, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's KeyPress event is triggered.
Attaches an action to be executed when a key is released while the control has focus.
TControl
control
The control to which the action will be attached.
action
The action to be executed when a key is released, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's KeyUp event is triggered.
Attaches an action to be executed when the layout of the control is changed.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the layout changes, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's Layout event is triggered.
Attaches an action to be executed when the Location property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the Location property changes.
This method allows you to specify an action that will be executed when the control's LocationChanged event is triggered.
Attaches an action to be executed when the control loses focus.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control loses focus.
This method allows you to specify an action that will be executed when the control's LostFocus event is triggered.
Attaches an action to be executed when the Margin property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the Margin property changes.
This method allows you to specify an action that will be executed when the control's MarginChanged event is triggered.
Attaches an action to be executed when the mouse capture changes for the control.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the mouse capture changes.
This method allows you to specify an action that will be executed when the control's MouseCaptureChanged event is triggered.
Attaches an action to be executed when the control is clicked with the mouse.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control is clicked, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's MouseClick event is triggered.
Attaches an action to be executed when the control is double-clicked with the mouse.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control is double-clicked, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's MouseDoubleClick event is triggered.
Attaches an action to be executed when a mouse button is pressed while the pointer is over the control.
TControl
control
The control to which the action will be attached.
action
The action to be executed when a mouse button is pressed, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's MouseDown event is triggered.
Attaches an action to be executed when the mouse pointer enters the control's bounds.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the mouse pointer enters the control.
This method allows you to specify an action that will be executed when the control's MouseEnter event is triggered.
Attaches an action to be executed when the mouse pointer hovers over the control.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the mouse pointer hovers over the control.
This method allows you to specify an action that will be executed when the control's MouseHover event is triggered.
Attaches an action to be executed when the mouse pointer leaves the control's bounds.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the mouse pointer leaves the control.
This method allows you to specify an action that will be executed when the control's MouseLeave event is triggered.
Attaches an action to be executed when the mouse pointer moves over the control.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the mouse pointer moves, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's MouseMove event is triggered.
Attaches an action to be executed when a mouse button is released while the pointer is over the control.
TControl
control
The control to which the action will be attached.
action
The action to be executed when a mouse button is released, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's MouseUp event is triggered.
Attaches an action to be executed when the mouse wheel is rotated while the pointer is over the control.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the mouse wheel is rotated, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's MouseWheel event is triggered.
Attaches an action to be executed when the control is moved.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control is moved.
This method allows you to specify an action that will be executed when the control's Move event is triggered.
Attaches an action to be executed when the Padding property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the Padding property changes.
This method allows you to specify an action that will be executed when the control's PaddingChanged event is triggered.
Attaches an action to be executed when the control is repainted.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control is repainted, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's Paint event is triggered.
Attaches an action to be executed when the Parent property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the Parent property changes.
This method allows you to specify an action that will be executed when the control's ParentChanged event is triggered.
Attaches an action to be executed when a key is pressed while the control has focus, before the key event is processed.
TControl
control
The control to which the action will be attached.
action
The action to be executed when a key is pressed, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's PreviewKeyDown event is triggered.
Attaches an action to be executed during a drag-and-drop operation to determine whether the drag should continue.
TControl
control
The control to which the action will be attached.
action
The action to be executed during the drag operation, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's QueryContinueDrag event is triggered.
Attaches an action to be executed when the control is resized.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control is resized.
This method allows you to specify an action that will be executed when the control's Resize event is triggered.
Attaches an action to be executed when the RightToLeft property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the RightToLeft property changes.
This method allows you to specify an action that will be executed when the control's RightToLeftChanged event is triggered.
Attaches an action to be executed when the Size property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the Size property changes.
This method allows you to specify an action that will be executed when the control's SizeChanged event is triggered.
Attaches an action to be executed when the style of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the style changes.
This method allows you to specify an action that will be executed when the control's StyleChanged event is triggered.
TControl
control
The control on which to register the event handler.
action
The action to perform when the swipe event occurs.
This method allows you to easily attach a swipe event handler to a control.
Attaches an action to be executed when the TabIndex property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the TabIndex property changes.
This method allows you to specify an action that will be executed when the control's TabIndexChanged event is triggered.
Attaches an action to be executed when the TabStop property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the TabStop property changes.
This method allows you to specify an action that will be executed when the control's TabStopChanged event is triggered.
Attaches an action to be executed when the Text property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the Text property changes.
This method allows you to specify an action that will be executed when the control's TextChanged event is triggered.
TControl
control
The control on which to register the event handler.
action
The action to perform when the touch cancel event occurs.
This method allows you to easily attach a touch cancel event handler to a control.
TControl
control
The control on which to register the event handler.
action
The action to perform when the touch end event occurs.
This method allows you to easily attach a touch end event handler to a control.
TControl
control
The control on which to register the event handler.
action
The action to perform when the touch move event occurs.
This method allows you to easily attach a touch move event handler to a control.
TControl
control
The control on which to register the event handler.
action
The action to perform when the touch start event occurs.
This method allows you to easily attach a touch start event handler to a control.
TControl
control
The control on which to register the event handler.
action
The action to perform when the track event occurs.
This method allows you to easily attach a track event handler to a control.
Attaches an action to be executed when the control is successfully validated.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the control is validated.
This method allows you to specify an action that will be executed when the control's Validated event is triggered.
Attaches an action to be executed when the Visible property of the control changes.
TControl
control
The control to which the action will be attached.
action
The action to be executed when the Visible property changes.
This method allows you to specify an action that will be executed when the control's VisibleChanged event is triggered.
Sets the padding for the specified control.
TControl
control
The control for which to set the padding.
padding
The padding to be applied to the control.
Sets the padding for the specified control using an array of integers.
TControl
control
The control for which to set the padding.
padding
An array of integers representing the padding. Must be 1 (all), 2 (horizontal, vertical), or 4 (left, top, right, bottom).
This method allows setting the padding using different configurations of padding values.
Throws:
Sets the parent control for the specified control.
TControl
control
The control for which to set the parent.
parent
The parent control to be assigned.
Sets the RightToLeft property for the specified control, determining the direction of text and layout.
TControl
control
The control for which to set the RightToLeft property.
rtl
The RightToLeft value to be applied to the control.
TControl
control
value
TControl
control
The control for which to set the size.
size
The size to be applied to the control.
Sets the size for the specified control using width and height values.
TControl
control
The control for which to set the size.
width
The width of the control.
height
The height of the control.
Sets the tab index for the specified control, determining the order of focus when navigating with the Tab key.
TControl
control
The control for which to set the tab index.
tabIndex
The tab index to be assigned to the control.
Sets the TabStop property for the specified control, determining whether the control is included in the tab order.
TControl
control
The control for which to set the TabStop property.
tabStop
A boolean value indicating whether the control is included in the tab order. Default is true
.
Sets the tag for the specified control, allowing for the storage of additional data.
TControl
control
The control for which to set the tag.
tag
The object to be stored as the tag.
Sets the text for the specified control.
TControl
control
The control for which to set the text.
text
The text to be displayed by the control.
Sends the control to the back of the z-order.
TControl
control
The control to be sent to the back.
If the control does not have a parent at the time of invocation, it will be sent to the back once a parent is assigned.
Brings the control to the front of the z-order.
TControl
control
The control to be brought to the front.
If the control does not have a parent at the time of invocation, it will be brought to the front once a parent is assigned.
Sets the top position for the specified control.
TControl
control
The control for which to set the top position.
top
The new top position to be applied to the control.
Sets user-defined data for the specified control using a key-value pair.
TControl
control
The control for which to set the user data.
name
The key for the user data.
value
The value to be associated with the key.
This method allows you to store custom data associated with the control using a dictionary-like structure.
Sets the UseWaitCursor property for the specified control, determining whether to use the wait cursor for the control and its children.
TControl
control
The control for which to set the UseWaitCursor property.
useWait
A boolean value indicating whether to use the wait cursor. Default is false
.
Attaches an action to be executed during the Validating event of the control, allowing for custom validation logic.
TControl
control
The control to which the action will be attached.
action
The action to be executed during validation, with the event arguments provided.
This method allows you to specify an action that will be executed when the control's Validating event is triggered.
Sets the visibility of the specified control.
TControl
control
The control for which to set the visibility.
visible
A boolean value indicating whether the control should be visible. Default is true
.
Sets the width for the specified control.
TControl
control
The control for which to set the width.
width
The new width to be applied to the control.
The type of the control, which must inherit from .
The type of the control, which must inherit from .
Returns: . The control with the updated accessible name.
The type of the control, which must inherit from .
Returns: . The control with the updated accessible role.
The type of the control, which must inherit from .
Returns: . The control with the updated AllowDrop property.
The type of the control, which must inherit from .
Returns: . The control after the action has been executed.
The type of the control, which must inherit from .
Returns: . The control with the updated anchor styles.
Returns: .
The type of the control, which must inherit from .
Returns: . The control with the updated auto-scroll offset.
The type of the control, which must inherit from .
Returns: . The control with the updated AutoSize property.
The type of the control, which must inherit from .
Returns: . The control with the updated background color.
The type of the control, which must inherit from .
Returns: . The control with the updated background image.
The type of the control, which must inherit from .
Returns: . The control with the updated background image layout.
Sets the bounds of the specified control using a .
The type of the control, which must inherit from .
Returns: . The control with the updated bounds.
The type of the control, which must inherit from .
Returns: . The control with the updated top and left position.
The type of the control, which must inherit from .
Returns: . The control with the updated bounds.
The type of the control, which must inherit from .
Returns: . The control with the updated capture property.
The type of the control, which must inherit from .
Returns: . The control with the updated CausesValidation property.
The type of the control, which must inherit from .
Returns: . The control with the updated client size.
The type of the control, which must inherit from .
Returns: . The control with the updated context menu.
The type of the control, which must inherit from .
Returns: . The control with the added child controls.
This method suspends the layout of the control, adds the child controls, and then resumes the layout. Controls with are brought to the front.
The type of the control, which must inherit from .
Returns: . The control with the updated cursor.
The type of the control, which must inherit from .
Returns: . The control with the updated dock style.
The type of the control, which must inherit from .
Returns: . The control with the updated enabled state.
Returns: .
The type of the control, which must inherit from .
Returns: . The control with the updated font.
The type of the control, which must inherit from .
Returns: . The control with the updated font size.
The type of the control, which must inherit from .
Returns: . The control with the updated foreground color.
The type of the control, which must inherit from .
Returns: . The control with the updated height.
The type of the control, which must inherit from .
Returns: . The control with the attached leave event action.
The type of the control, which must inherit from .
Returns: . The control with the updated left position.
The type of the control, which must inherit from .
Returns: . The control with the updated location.
The type of the control, which must inherit from .
Returns: . The control with the updated location.
Sets the margin for the specified control using a object.
The type of the control, which must inherit from .
Returns: . The control with the updated margin.
The type of the control, which must inherit from .
Returns: . The control with the updated margin.
Thrown when the padding array is null.
Thrown when the padding array length is not 1, 2, or 4.
Sets the maximum size for the specified control using a object.
The type of the control, which must inherit from .
Returns: . The control with the updated maximum size.
The type of the control, which must inherit from .
Returns: . The control with the updated maximum size.
Sets the minimum size for the specified control using a object.
The type of the control, which must inherit from .
Returns: . The control with the updated minimum size.
The type of the control, which must inherit from .
Returns: . The control with the updated minimum size.
The type of the control, which must inherit from .
Returns: . The control with the updated name.
The type of the control, which must inherit from .
Returns: . The control with the attached AutoSizeChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached BackColorChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached BackgroundImageChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached BackgroundImageLayoutChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached BindingContextChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached CausesValidationChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached Click event action.
The type of the control, which must inherit from .
Returns: . The control with the attached ClientSizeChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached ContextMenuChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached ControlAdded event action.
The type of the control, which must inherit from .
Returns: . The control with the attached ControlRemoved event action.
The type of the control, which must inherit from .
Returns: . The control with the attached CursorChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached DockChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached DoubleClick event action.
The type of the control, which must inherit from .
Returns: . The control with the attached DragDrop event action.
The type of the control, which must inherit from .
Returns: . The control with the attached DragEnter event action.
The type of the control, which must inherit from .
Returns: . The control with the attached DragLeave event action.
The type of the control, which must inherit from .
Returns: . The control with the attached DragOver event action.
The type of the control, which must inherit from .
Returns: . The control with the attached EnabledChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached Enter event action.
The type of the control, which must inherit from .
Returns: . The control with the attached FontChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached ForeColorChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached GotFocus event action.
The type of the control, which must inherit from .
Returns: . The control with the attached HandleCreated event action.
The type of the control, which must inherit from .
Returns: . The control with the attached HandleDestroyed event action.
The type of the control, which must inherit from .
Returns: . The control with the attached HelpRequested event action.
The type of the control, which must inherit from .
Returns: . The control with the attached KeyDown event action.
The type of the control, which must inherit from .
Returns: . The control with the attached KeyPress event action.
The type of the control, which must inherit from .
Returns: . The control with the attached KeyUp event action.
The type of the control, which must inherit from .
Returns: . The control with the attached Layout event action.
The type of the control, which must inherit from .
Returns: . The control with the attached LocationChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached LostFocus event action.
The type of the control, which must inherit from .
Returns: . The control with the attached MarginChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached MouseCaptureChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached MouseClick event action.
The type of the control, which must inherit from .
Returns: . The control with the attached MouseDoubleClick event action.
The type of the control, which must inherit from .
Returns: . The control with the attached MouseDown event action.
The type of the control, which must inherit from .
Returns: . The control with the attached MouseEnter event action.
The type of the control, which must inherit from .
Returns: . The control with the attached MouseHover event action.
The type of the control, which must inherit from .
Returns: . The control with the attached MouseLeave event action.
The type of the control, which must inherit from .
Returns: . The control with the attached MouseMove event action.
The type of the control, which must inherit from .
Returns: . The control with the attached MouseUp event action.
The type of the control, which must inherit from .
Returns: . The control with the attached MouseWheel event action.
The type of the control, which must inherit from .
Returns: . The control with the attached Move event action.
The type of the control, which must inherit from .
Returns: . The control with the attached PaddingChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached Paint event action.
The type of the control, which must inherit from .
Returns: . The control with the attached ParentChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached PreviewKeyDown event action.
The type of the control, which must inherit from .
Returns: . The control with the attached QueryContinueDrag event action.
The type of the control, which must inherit from .
Returns: . The control with the attached Resize event action.
The type of the control, which must inherit from .
Returns: . The control with the attached RightToLeftChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached SizeChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached StyleChanged event action.
Registers an action to be called when the event is raised.
The type of the control, which must inherit from .
Returns: . The control with the event handler registered.
The type of the control, which must inherit from .
Returns: . The control with the attached TabIndexChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached TabStopChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the attached TextChanged event action.
Registers an action to be called when the event is raised.
The type of the control, which must inherit from .
Returns: . The control with the event handler registered.
Registers an action to be called when the event is raised.
The type of the control, which must inherit from .
Returns: . The control with the event handler registered.
Registers an action to be called when the event is raised.
The type of the control, which must inherit from .
Returns: . The control with the event handler registered.
Registers an action to be called when the event is raised.
The type of the control, which must inherit from .
Returns: . The control with the event handler registered.
Registers an action to be called when the event is raised.
The type of the control, which must inherit from .
Returns: . The control with the event handler registered.
The type of the control, which must inherit from .
Returns: . The control with the attached Validated event action.
The type of the control, which must inherit from .
Returns: . The control with the attached VisibleChanged event action.
The type of the control, which must inherit from .
Returns: . The control with the updated padding.
The type of the control, which must inherit from .
Returns: . The control with the updated padding.
Thrown when the padding array is null.
Thrown when the padding array length is not 1, 2, or 4.
The type of the control, which must inherit from .
Returns: . The control with the updated parent.
The type of the control, which must inherit from .
Returns: . The control with the updated RightToLeft property.
Returns: .
Sets the size for the specified control using a object.
The type of the control, which must inherit from .
Returns: . The control with the updated size.
The type of the control, which must inherit from .
Returns: . The control with the updated size.
The type of the control, which must inherit from .
Returns: . The control with the updated tab index.
The type of the control, which must inherit from .
Returns: . The control with the updated TabStop property.
The type of the control, which must inherit from .
Returns: . The control with the updated tag.
The type of the control, which must inherit from .
Returns: . The control with the updated text.
The type of the control, which must inherit from .
Returns: . The control after being sent to the back.
The type of the control, which must inherit from .
Returns: . The control after being brought to the front.
The type of the control, which must inherit from .
Returns: . The control with the updated top position.
The type of the control, which must inherit from .
Returns: . The control with the updated user data.
The type of the control, which must inherit from .
Returns: . The control with the updated UseWaitCursor property.
The type of the control, which must inherit from .
Returns: . The control with the attached Validating event action.
The type of the control, which must inherit from .
Returns: . The control with the updated visibility.
The type of the control, which must inherit from .
Returns: . The control with the updated width.