WebFormsRootDesigner.GetControlViewAndTag Method (Control, IControlDesignerView, IControlDesignerTag)

 

When overridden in a derived class, returns both the current design-time view and the HTML markup for the specified control.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

Protected Friend MustOverride Sub GetControlViewAndTag (
	control As Control,
	<OutAttribute> ByRef view As IControlDesignerView,
	<OutAttribute> ByRef tag As IControlDesignerTag
)

Parameters

control
Type: System.Web.UI.Control

The control to provide the view and tag for.

view
Type: System.Web.UI.Design.IControlDesignerView

When the GetControlViewAndTag method returns, view contains an IControlDesignerView object that provides access to the visual representation and content of a control at design time. view is passed uninitialized.

tag
Type: System.Web.UI.Design.IControlDesignerTag

When the GetControlViewAndTag method returns, tag contains an IControlDesignerTag object that provides access to the HTML element for the control's control designer. tag is passed uninitialized.

.NET Framework
Available since 2.0
Return to top
Show: