Export (0) Print
Expand All

WebFormsRootDesigner.GetControlViewAndTag Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft