ViewRendering Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ViewRendering class.
Overloads
ViewRendering(String, DesignerRegionCollection) |
Initializes a new instance of the ViewRendering class by using the specified content and regions. |
ViewRendering(String, DesignerRegionCollection, Boolean) |
Initializes a new instance of the ViewRendering class by using the specified content, regions, and visibility mode. |
ViewRendering(String, DesignerRegionCollection)
Initializes a new instance of the ViewRendering class by using the specified content and regions.
public:
ViewRendering(System::String ^ content, System::Web::UI::Design::DesignerRegionCollection ^ regions);
public ViewRendering (string content, System.Web.UI.Design.DesignerRegionCollection regions);
new System.Web.UI.Design.ViewRendering : string * System.Web.UI.Design.DesignerRegionCollection -> System.Web.UI.Design.ViewRendering
Public Sub New (content As String, regions As DesignerRegionCollection)
Parameters
- content
- String
HTML markup.
- regions
- DesignerRegionCollection
A collection that contains the regions.
See also
- DesignerRegionCollection
- Extending Design-Time Support
- How to: Extend the Appearance and Behavior of Controls in Design Mode
Applies to
ViewRendering(String, DesignerRegionCollection, Boolean)
Initializes a new instance of the ViewRendering class by using the specified content, regions, and visibility mode.
public:
ViewRendering(System::String ^ content, System::Web::UI::Design::DesignerRegionCollection ^ regions, bool visible);
public ViewRendering (string content, System.Web.UI.Design.DesignerRegionCollection regions, bool visible);
new System.Web.UI.Design.ViewRendering : string * System.Web.UI.Design.DesignerRegionCollection * bool -> System.Web.UI.Design.ViewRendering
Public Sub New (content As String, regions As DesignerRegionCollection, visible As Boolean)
Parameters
- content
- String
The HTML markup.
- regions
- DesignerRegionCollection
A collection of regions.
- visible
- Boolean
A value that indicates whether the control is rendered.