Name

ITemplateEditingFrame

Synopsis

This interface is implemented by System.Web.UI.Design.WebControls.DataListDesigner and System.Web.UI.Design.WebControls.DataGridDesigner. It allows them to support in-place editing of a control template at design time. The properties of this interface represent the characteristics of the template editing area (like InitialHeight, InitialWidth, and ControlStyle). The methods are used to manage the template editing area (like Save() and Resize()).

Note that a System.Web.UI.WebControls.DataGrid control uses templates (and hence template editing) only if you have added a System.Web.UI.WebControls.TemplateColumn.

Public Interface ITemplateEditingFrame : Implements IDisposable
' Public Instance Properties
   Public ReadOnly Property ControlStyle As Style  
   Public Property InitialHeight As Integer  
   Public Property InitialWidth As Integer  
   Public ReadOnly Property Name As String  
   Public ReadOnly Property TemplateNames As String()  
   Public ReadOnly Property TemplateStyles As Style()  
   Public Property Verb As TemplateEditingVerb  
' Public Instance Methods
   Public Sub Close(ByVal saveChanges As Boolean) 
   Public Sub Open() 
   Public Sub Resize(ByVal width As Integer, 
        ByVal height As Integer) 
   Public Sub Save() 
   Public Sub UpdateControlName(ByVal newName As String) 
End Interface

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.