Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

238 lines
14 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="TemplateEditingService" FullName="System.Web.UI.Design.TemplateEditingService">
<TypeSignature Language="C#" Value="public sealed class TemplateEditingService : IDisposable, System.Web.UI.Design.ITemplateEditingService" />
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Web.UI.Design.ITemplateEditingService</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<block subset="none" type="note">
<para>The <see cref="T:System.Web.UI.Design.TemplateEditingService" /> class is obsolete. Expose templates through the <see cref="P:System.Web.UI.Design.ControlDesigner.TemplateGroups" /> property of a control designer. The design host creates a <see cref="T:System.Web.UI.Design.TemplatedEditableDesignerRegion" /> object for each <see cref="T:System.Web.UI.Design.TemplateDefinition" /> in each <see cref="T:System.Web.UI.Design.TemplateGroup" /> that is defined for a control designer.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides services for editing control templates at design time. This class cannot be inherited.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TemplateEditingService (System.ComponentModel.Design.IDesignerHost designerHost);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="designerHost" Type="System.ComponentModel.Design.IDesignerHost" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<block subset="none" type="note">
<para>The <see cref="T:System.Web.UI.Design.TemplateEditingService" /> class is obsolete. Expose templates through the <see cref="P:System.Web.UI.Design.ControlDesigner.TemplateGroups" /> property of a control designer. The design host creates a <see cref="T:System.Web.UI.Design.TemplatedEditableDesignerRegion" /> object for each <see cref="T:System.Web.UI.Design.TemplateDefinition" /> in each <see cref="T:System.Web.UI.Design.TemplateGroup" /> that is defined for a control designer.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.Design.TemplateEditingService" /> class with the specified designer host. </para>
</summary>
<param name="designerHost">
<attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.ComponentModel.Design.IDesignerHost" /> implementation, used to access components at design time.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="CreateFrame">
<MemberSignature Language="C#" Value="public System.Web.UI.Design.ITemplateEditingFrame CreateFrame (System.Web.UI.Design.TemplatedControlDesigner designer, string frameName, string[] templateNames);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.Design.ITemplateEditingFrame</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="designer" Type="System.Web.UI.Design.TemplatedControlDesigner" />
<Parameter Name="frameName" Type="System.String" />
<Parameter Name="templateNames" Type="System.String[]" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<block subset="none" type="note">
<para>The <see cref="T:System.Web.UI.Design.TemplateEditingService" /> class is obsolete. Expose templates through the <see cref="P:System.Web.UI.Design.ControlDesigner.TemplateGroups" /> property of a control designer. The design host creates a <see cref="T:System.Web.UI.Design.TemplatedEditableDesignerRegion" /> object for each <see cref="T:System.Web.UI.Design.TemplateDefinition" /> in each <see cref="T:System.Web.UI.Design.TemplateGroup" /> that is defined for a control designer.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a new template editing frame for the specified templated control designer, using the specified name and templates.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The new <see cref="T:System.Web.UI.Design.ITemplateEditingFrame" />.</para>
</returns>
<param name="designer">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.Design.TemplatedControlDesigner" /> that will use the template editing frame.</param>
<param name="frameName">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the editing frame that will be displayed on the frame. Typically, this is the same as the <see cref="P:System.ComponentModel.Design.DesignerVerb.Text" /> used as the menu text for the <see cref="T:System.Web.UI.Design.TemplateEditingVerb" /> that is invoked to create the frame.</param>
<param name="templateNames">
<attribution license="cc4" from="Microsoft" modified="false" />An array of names for the templates that the template editing frame will contain.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="CreateFrame">
<MemberSignature Language="C#" Value="public System.Web.UI.Design.ITemplateEditingFrame CreateFrame (System.Web.UI.Design.TemplatedControlDesigner designer, string frameName, string[] templateNames, System.Web.UI.WebControls.Style controlStyle, System.Web.UI.WebControls.Style[] templateStyles);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.Design.ITemplateEditingFrame</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="designer" Type="System.Web.UI.Design.TemplatedControlDesigner" />
<Parameter Name="frameName" Type="System.String" />
<Parameter Name="templateNames" Type="System.String[]" />
<Parameter Name="controlStyle" Type="System.Web.UI.WebControls.Style" />
<Parameter Name="templateStyles" Type="System.Web.UI.WebControls.Style[]" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<block subset="none" type="note">
<para>The <see cref="T:System.Web.UI.Design.TemplateEditingService" /> class is obsolete. Expose templates through the <see cref="P:System.Web.UI.Design.ControlDesigner.TemplateGroups" /> property of a control designer. The design host creates a <see cref="T:System.Web.UI.Design.TemplatedEditableDesignerRegion" /> object for each <see cref="T:System.Web.UI.Design.TemplateGroup" /> that is defined for a control designer.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a new template editing frame for the specified <see cref="T:System.Web.UI.Design.TemplatedControlDesigner" /> object, using the specified name, template names, control style, and template styles.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The new <see cref="T:System.Web.UI.Design.ITemplateEditingFrame" />.</para>
</returns>
<param name="designer">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.Design.TemplatedControlDesigner" /> that will use the template editing frame. </param>
<param name="frameName">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the editing frame that will be displayed on the frame. Typically, this is the same as the <see cref="P:System.ComponentModel.Design.DesignerVerb.Text" /> used as the menu text for the <see cref="T:System.Web.UI.Design.TemplateEditingVerb" /> that is invoked to create the frame. </param>
<param name="templateNames">
<attribution license="cc4" from="Microsoft" modified="false" />An array of names for the templates that the template editing frame will contain. </param>
<param name="controlStyle">
<attribution license="cc4" from="Microsoft" modified="false" />The control <see cref="T:System.Web.UI.WebControls.Style" /> for the editing frame. </param>
<param name="templateStyles">
<attribution license="cc4" from="Microsoft" modified="false" />An array of type <see cref="T:System.Web.UI.WebControls.Style" /> that represents the template styles for the editing frame. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="public void Dispose ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Releases all resources that are used by the <see cref="T:System.Web.UI.Design.TemplateEditingService" /> object. </para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Finalize">
<MemberSignature Language="C#" Value="~TemplateEditingService ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GetContainingTemplateName">
<MemberSignature Language="C#" Value="public string GetContainingTemplateName (System.Web.UI.Control control);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="control" Type="System.Web.UI.Control" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<block subset="none" type="note">
<para> The <see cref="T:System.Web.UI.Design.TemplateEditingService" /> class is obsolete. Use the <see cref="P:System.Web.UI.Design.TemplatedEditableDesignerRegion.TemplateDefinition" /> property of the <see cref="T:System.Web.UI.Design.TemplatedEditableDesignerRegion" /> class for equivalent design-time functionality.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the name of the parent template.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The name of the parent template.</para>
</returns>
<param name="control">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.Control" /> for which to get the name of the parent template. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SupportsNestedTemplateEditing">
<MemberSignature Language="C#" Value="public bool SupportsNestedTemplateEditing { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<block subset="none" type="note">
<para>The <see cref="T:System.Web.UI.Design.TemplateEditingService" /> class is obsolete. Expose templates through the <see cref="P:System.Web.UI.Design.ControlDesigner.TemplateGroups" /> property of a control designer. The design host creates a <see cref="T:System.Web.UI.Design.TemplatedEditableDesignerRegion" /> object for each <see cref="T:System.Web.UI.Design.TemplateDefinition" /> in each <see cref="T:System.Web.UI.Design.TemplateGroup" /> that is defined for a control designer.</para>
</block>
<para>The <see cref="P:System.Web.UI.Design.TemplateEditingService.SupportsNestedTemplateEditing" /> property indicates whether a template editor can be invoked from a component of a parent template editor's templated control. This is called nested template editing, because a template editor is invoked for a component of a control for which a template editor is already operating.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets a value that indicates whether the service supports nested template editing.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
<Attributes>
<Attribute>
<AttributeName>System.Obsolete("Template editing is supported in ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing, true) in 2.0.")</AttributeName>
</Attribute>
</Attributes>
</Type>