|
|
|
|
|
Host Windows Forms Controls
Hosting the WindowsForms controls involves the rendering and interacting windows forms controls in the HTMLUI at run time using the html tag elements. The controls can be created directly inside the HTML document at design time with the help of custom tag and rendered in the control as like rendering the input elements or the user can create a control at design time and let HTMLUI do the layout at runtime.
|
|
|
|
Custom controls can be created and used as like the normal html elements with the help of the support for the custom tag. The Custom tag is a customized html tag with the 'Class' and 'Assembly' as its attributes. The Assembly attribute refers the namespace of the control and the Class attribute refers the control itself. This is so flexible to such an extent that the user can use any windows forms control in the html document and make his application native and productive.
Create Custom ControlUsing Custom Tag
|
|
|
|
The other form of using the HTMLUI control in rendering the user defined controls is by creating a control in the HTML document as an html element and interfacing that html element to a control available on the form. The HTMLUI control will take care of the layout of the control interfaced on the form based on the properties available for it in the html document. This method helps in creating applications involving customized layouts and advanced user interactivity.
Interface userdefined Tags to Windows Forms
|
|
|
|
The HTMLUI control can expose the control that is present in the specified html element. Tracing the controls in the html documents will help the developer in creating a powerful interaction environment for users.
|
|
|
|
|
|
|
|