Class GenericControl
Implements generic control which is not handled by the operating system.
public class GenericControl : AbstractControl, IBaseObjectWithId, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo
- Inheritance
-
GenericControl
- Implements
- Derived
Constructors
- GenericControl()
Initializes a new instance of the GenericControl class.
Properties
- IsClipped
Gets or sets whether control contents is clipped and is not painted outside it's bounds.
- IsHandleCreated
Gets a value indicating whether the control has a native window handle associated with it.
Methods
- DefaultPaint(PaintEventArgs)
Default painting method of the GenericControl and its descendants.
- Invalidate()
Invalidates the control and causes a paint message to be sent to the control.
- OnPaint(PaintEventArgs)
Called when the control is redrawn. See Paint for details.
- OnVisibleChanged(EventArgs)
Called when the value of the Visible property changes.
- ReportBoundsChanged()
Calls LocationChanged and SizeChanged events if Bounds property was changed.
- Update()
Causes the control to redraw the invalidated regions.