'Declaration Public Class ControlHostElement Inherits Element Implements IControlHostElement
public class ControlHostElement : Element, IControlHostElement
'Declaration Public Class ControlHostElement Inherits Element Implements IControlHostElement
public class ControlHostElement : Element, IControlHostElement
In principle, this class allows hosting any WinForms control. In practice, not all controls work well in this scenario. For example, some controls cannot be freely resized, so the element should account for that.
** Important Note: to allow hosting generic controls, this class stores a reference to itself in the contained control's Tag property. That means hosted controls cannot use their Tag property for anything else.
System.Object
C1.Framework.Element
C1.Framework.ControlHostElement
C1.Framework.TextBoxElement