Class UserControlHolderBase
Base class of custom tags containing custom controls.
Inheritance
System.Object
UserControlHolderBase
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.HTMLUI
Assembly: Syncfusion.HTMLUI.Windows.dll
Syntax
public abstract class UserControlHolderBase : BaseElement, ICloneable, IDisposable, IUserControlHolder, IHTMLElement
Constructors
UserControlHolderBase(IHTMLElement, String)
Initializes a new instance of the UserControlHolderBase class
Declaration
protected UserControlHolderBase(IHTMLElement parent, string name)
Parameters
Type | Name | Description |
---|---|---|
IHTMLElement | parent | Parent element for this custom tag. |
System.String | name | Name of the custom tag. |
Properties
UserControl
Gets an instance of the custom control wrapper.
Declaration
public abstract IControlImpl UserControl { get; }
Property Value
Type |
---|
IControlImpl |
Methods
Block_LocationChanged(Object, EventArgs)
Changes location of the control.
Declaration
protected void Block_LocationChanged(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | Sender of the event. |
System.EventArgs | e | Event arguments. |
CalculateChildPositions(Point, Rectangle)
Overridden. Calculates the position of the element.
Declaration
protected override BlocksCollection CalculateChildPositions(Point curPosition, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | curPosition | Current position. |
System.Drawing.Rectangle | bounds | Bounds for the element. |
Returns
Type | Description |
---|---|
BlocksCollection | Array of the blocks. |
Overrides
ClearBlocks()
Detaches events and clears blocks.
Declaration
protected void ClearBlocks()
OnLocationCalculated(EventArgs)
Overridden. Raises the LocationCalculated Event.
Declaration
protected override void OnLocationCalculated(EventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | args | Event arguments. |
Overrides
ProcessDrawBlock(Block, PaintEventArgs)
Overridden. Draws an element.
Declaration
protected override void ProcessDrawBlock(Block block, PaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Block | block | Block to be painted. |
System.Windows.Forms.PaintEventArgs | e | Paint arguments. |
Overrides
Implements
System.ICloneable
System.IDisposable