public class BaseControl : ControlPublic Class BaseControl
Inherits Controlpublic ref class BaseControl : public Controltype BaseControl =
class
inherit Control
end| BaseControl | Initializes a new instance of the BaseControl class. |
| IsDesignMode | Gets whether the control is in design mode. Unlike the DesignMode property, this property works even during initialization. |
| Dispose | Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources. (Overrides ControlDispose(Boolean)) |
| InvokeOnUIThread | Invokes the specified callback on the thread that the control was created on. |
| OnMouseHWheel | Raises the MouseHWheel event. |
| WndProc | Processes Windows messages. (Overrides ControlWndProc(Message)) |
| MouseHWheel | Occurs when the horizontal mouse wheel is scrolled while the control has focus. |
| MouseWheelScrollDelta | Gets the amount of the delta value of a single mouse wheel rotation increment. |
| GetFormatFlags |
Gets the formatting flags for the text of a custom drawn control.
(Defined by ControlExtensions) |
| GetScale |
Gets the current scale factor of the specified control. If per-monitor DPI awareness is not enabled, it always returns SystemScale.
(Defined by ScaleHelper) |
| GetScrollBarSize |
Gets the recommended width and height of scrollbars matching the current scaling of the specified control.
(Defined by ScaleHelper) |
| HasDefaultScaling |
Gets whether the display that the specified control belongs to has the same DPI as the initial DPI of the primary display.
(Defined by ScaleHelper) |
| ScaleHeight |
Scales the specified height by the vertical scale factor of the control.
(Defined by ScaleHelper) |
| ScaleSize |
Scales the specified size by the scale factor of the control.
(Defined by ScaleHelper) |
| ScaleWidth |
Scales the specified width by the horizontal scale factor of the control.
(Defined by ScaleHelper) |
| SetControlEnabled |
Sets the Enabled property of the child controls within the specified root control,
or the Enabled property of the specified control itself, if it is not a recognized container control.
By this way pages of a TabControl will remain selectable, a SplitContainer remains resizable, etc.
(Defined by ControlExtensions) |
| SetControlReadonly |
Recursively sets the read-only state in the children of the specified root control.
Affects TextBoxBase and IReadOnlyCapable instances.
(Defined by ControlExtensions) |
| SetDoubleBuffered |
Sets the double buffered state of a control
(Defined by ControlExtensions) |
| SetStyle |
Sets a specified ControlStyles flag to either or .
It calls the protected Control.SetStyle method on the specified control as if it was a public method.
(Defined by ControlExtensions) |