Name

UserControlDesigner

Synopsis

This class provides a custom designer for user controls (page-like groups of text, controls, and scripting contained in .ascx files). This designer provides the design-time HTML used when you insert a user control onto a Web Forms page. This design-time HTML consists of a generic, labeled gray box that does not render any of the actual content.

Public Class UserControlDesigner : Inherits ControlDesigner
' Public Constructors
   Public Sub New() 
' Public Instance Properties
   Overrides Public ReadOnly Property AllowResize As Boolean  
   Overrides Public Property ShouldCodeSerialize As Boolean  
' Public Instance Methods
   Overrides Public Function GetDesignTimeHtml() As String  
   Overrides Public Function GetPersistInnerHtml() As String  
End Class

Hierarchy

System.Object System.ComponentModel.Design.ComponentDesigner(System.ComponentModel.Design.IDesigner, System.IDisposable, System.ComponentModel.Design.IDesignerFilter)HtmlControlDesignerControlDesigner UserControlDesigner

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.