GetControlViewAndTag Method

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 internal abstract void GetControlViewAndTag(
	Control control,
	out IControlDesignerView view,
	out IControlDesignerTag tag
)

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:
© 2016 Microsoft