ControlDesigner.GetViewRendering Method

Definition

Retrieves an object that contains the design-time markup for the content and regions of the associated control.

Overloads

GetViewRendering()

Retrieves an object that contains the design-time markup for the content and regions of the associated control.

GetViewRendering(Control)

Retrieves an object that contains the design-time markup for the content and regions of the specified control.

GetViewRendering(ControlDesigner)

Retrieves an object that contains the design-time markup for the content and regions of the associated control for the specified control designer.

GetViewRendering()

Retrieves an object that contains the design-time markup for the content and regions of the associated control.

C#
public System.Web.UI.Design.ViewRendering GetViewRendering();

Returns

A ViewRendering object.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

GetViewRendering(Control)

Retrieves an object that contains the design-time markup for the content and regions of the specified control.

C#
public static System.Web.UI.Design.ViewRendering GetViewRendering(System.Web.UI.Control control);

Parameters

control
Control

A Control object.

Returns

A ViewRendering object.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

GetViewRendering(ControlDesigner)

Retrieves an object that contains the design-time markup for the content and regions of the associated control for the specified control designer.

C#
public static System.Web.UI.Design.ViewRendering GetViewRendering(System.Web.UI.Design.ControlDesigner designer);

Parameters

designer
ControlDesigner

A control designer that derives from ControlDesigner.

Returns

A ViewRendering object.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1