Class HostPrimitive
Represents a primitive which contain any control.
Inheritance
System.Object
HostPrimitive
Implements
System.ICloneable
Assembly: Syncfusion.Shared.Base.dll
public class HostPrimitive : Primitive, ICloneable
Constructors
Declaration
Declaration
public HostPrimitive(GradientPanelExt owner)
Parameters
Declaration
public HostPrimitive(Control control, GradientPanelExt owner)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Control |
control |
|
GradientPanelExt |
owner |
|
Declaration
public HostPrimitive(Control control, Size size, GradientPanelExt owner)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Control |
control |
|
System.Drawing.Size |
size |
|
GradientPanelExt |
owner |
|
Properties
Gets or set control which displaying inside the primitive.
Declaration
public Control HostControl { get; set; }
Property Value
Type |
System.Windows.Forms.Control |
Methods
Declaration
public override object Clone()
Returns
Overrides
Determines if a primitive contains control.
Declaration
public bool IsContainControl(Control control)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Control |
control |
|
Returns
Declaration
protected override void OnBoundsChanged()
Overrides
Declaration
protected virtual void OnHostControlChanged()
Declaration
protected override void OnSizeChanged()
Overrides
Declaration
protected override void OnVisibleChanged()
Overrides
Events
Declaration
public event EventHandler HostControlChanged
Event Type
Implements
System.ICloneable