Class BaseControlHandler
Contains methods and properties which help to implement custom control handler.
public abstract class BaseControlHandler : DisposableObject, IBaseObjectWithId, IDisposableObject, IDisposable, IBaseObject
- Inheritance
-
BaseControlHandler
- Implements
- Derived
Properties
- Control
Gets a Control this handler provides the implementation for. If control is disposed or not attached to the handler, returns dummy control.
- ControlOrNull
Gets a Control this handler provides the implementation for or Null if control is disposed or not assigned.
- HasBorder
Gets or sets a value indicating whether the control has a border.
- IsAttached
Gets a value indicating whether this object is attached to a Control.
Methods
- Attach(Control)
Attaches this handler to the specified Control.
- OnAttach()
Called after this handler has been attached to a Control.
- OnDetach()
Called after this handler has been detached from the Control.
- OnLayoutChanged()
This methods is called when the layout of the control changes.