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

283 lines
15 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="TemplateDefinition" FullName="System.Web.UI.Design.TemplateDefinition">
<TypeSignature Language="C#" Value="public class TemplateDefinition : System.Web.UI.Design.DesignerObject" />
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.UI.Design.DesignerObject</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Web.UI.Design.TemplateDefinition" /> class provides a base template definition class that can be inherited from and extended for a control designer to use in providing support for templated controls in a design host such as vsprvslong. A design host uses the properties and methods of the <see cref="T:System.Web.UI.Design.TemplateDefinition" /> class to facilitate creating and editing a template at design time.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides properties and methods that define a template element in a Web server control at design time.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TemplateDefinition (System.Web.UI.Design.ControlDesigner designer, string name, object templatedObject, string templatePropertyName);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="designer" Type="System.Web.UI.Design.ControlDesigner" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="templatedObject" Type="System.Object" />
<Parameter Name="templatePropertyName" Type="System.String" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.Design.TemplateDefinition" /> class, using the provided designer, template name, template, and property name.</para>
</summary>
<param name="designer">
<attribution license="cc4" from="Microsoft" modified="false" />The parent <see cref="T:System.Web.UI.Design.ControlDesigner" /> object.</param>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the template.</param>
<param name="templatedObject">
<attribution license="cc4" from="Microsoft" modified="false" />The object that contains the template.</param>
<param name="templatePropertyName">
<attribution license="cc4" from="Microsoft" modified="false" />The property name that represents this template in the <ui>Properties</ui> list in the design host.</param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TemplateDefinition (System.Web.UI.Design.ControlDesigner designer, string name, object templatedObject, string templatePropertyName, bool serverControlsOnly);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="designer" Type="System.Web.UI.Design.ControlDesigner" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="templatedObject" Type="System.Object" />
<Parameter Name="templatePropertyName" Type="System.String" />
<Parameter Name="serverControlsOnly" Type="System.Boolean" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.Design.TemplateDefinition" /> class, using the provided designer, template name, template, property name, and whether to limit the template contents to Web server controls.</para>
</summary>
<param name="designer">
<attribution license="cc4" from="Microsoft" modified="false" />The parent <see cref="T:System.Web.UI.Design.ControlDesigner" /> object.</param>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the template.</param>
<param name="templatedObject">
<attribution license="cc4" from="Microsoft" modified="false" />The object that contains the template.</param>
<param name="templatePropertyName">
<attribution license="cc4" from="Microsoft" modified="false" />The property name that represents this template in the <ui>Properties</ui> list in the design host.</param>
<param name="serverControlsOnly">
<attribution license="cc4" from="Microsoft" modified="false" />A Boolean value indicating whether the template content should allow only Web server controls.</param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TemplateDefinition (System.Web.UI.Design.ControlDesigner designer, string name, object templatedObject, string templatePropertyName, System.Web.UI.WebControls.Style style);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="designer" Type="System.Web.UI.Design.ControlDesigner" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="templatedObject" Type="System.Object" />
<Parameter Name="templatePropertyName" Type="System.String" />
<Parameter Name="style" Type="System.Web.UI.WebControls.Style" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.Design.TemplateDefinition" /> class, using the provided designer, template name, template, property name, and <see cref="T:System.Web.UI.WebControls.Style" /> object.</para>
</summary>
<param name="designer">
<attribution license="cc4" from="Microsoft" modified="false" />The parent <see cref="T:System.Web.UI.Design.ControlDesigner" /> object.</param>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the template.</param>
<param name="templatedObject">
<attribution license="cc4" from="Microsoft" modified="false" />The object that contains the template.</param>
<param name="templatePropertyName">
<attribution license="cc4" from="Microsoft" modified="false" />The property name that represents this template in the <ui>Properties</ui> list in the design host.</param>
<param name="style">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Web.UI.WebControls.Style" /> object to apply to each template.</param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TemplateDefinition (System.Web.UI.Design.ControlDesigner designer, string name, object templatedObject, string templatePropertyName, System.Web.UI.WebControls.Style style, bool serverControlsOnly);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="designer" Type="System.Web.UI.Design.ControlDesigner" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="templatedObject" Type="System.Object" />
<Parameter Name="templatePropertyName" Type="System.String" />
<Parameter Name="style" Type="System.Web.UI.WebControls.Style" />
<Parameter Name="serverControlsOnly" Type="System.Boolean" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.Design.TemplateDefinition" /> class, using the provided designer, template name, template, property name, <see cref="T:System.Web.UI.WebControls.Style" /> object, and whether to limit content to Web server controls.</para>
</summary>
<param name="designer">
<attribution license="cc4" from="Microsoft" modified="false" />The parent <see cref="T:System.Web.UI.Design.ControlDesigner" /> object.</param>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the template.</param>
<param name="templatedObject">
<attribution license="cc4" from="Microsoft" modified="false" />The object that contains the template.</param>
<param name="templatePropertyName">
<attribution license="cc4" from="Microsoft" modified="false" />The property name that represents this template in the <ui>Properties</ui> list in the design host.</param>
<param name="style">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Web.UI.WebControls.Style" /> object to apply to each template.</param>
<param name="serverControlsOnly">
<attribution license="cc4" from="Microsoft" modified="false" />A Boolean value indicating whether the template should limit content to Web server controls.</param>
</Docs>
</Member>
<Member MemberName="AllowEditing">
<MemberSignature Language="C#" Value="public virtual bool AllowEditing { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>To change the default, derived classes must override the <see cref="P:System.Web.UI.Design.TemplateDefinition.AllowEditing" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets a value that indicates whether the template should enable editing of its contents.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Content">
<MemberSignature Language="C#" Value="public virtual string Content { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the HTML markup representing the content of the template.</para>
</summary>
</Docs>
</Member>
<Member MemberName="ServerControlsOnly">
<MemberSignature Language="C#" Value="public bool ServerControlsOnly { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Retrieves a value indicating whether the template should limit content to Web server controls, as set in the <see cref="Overload:System.Web.UI.Design.TemplateDefinition.#ctor" /> constructor. This property is read-only.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Style">
<MemberSignature Language="C#" Value="public System.Web.UI.WebControls.Style Style { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.Style</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Although the <see cref="T:System.Web.UI.WebControls.Style" /> property is read-only, the properties of the <see cref="T:System.Web.UI.WebControls.Style" /> can be set.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Retrieves the style that should be applied to the template as set in the <see cref="Overload:System.Web.UI.Design.TemplateDefinition.#ctor" /> constructor. This property is read-only.</para>
</summary>
</Docs>
</Member>
<Member MemberName="SupportsDataBinding">
<MemberSignature Language="C#" Value="public bool SupportsDataBinding { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Retrieves or sets a value indicating whether the template supports data binding.</para>
</summary>
</Docs>
</Member>
<Member MemberName="TemplatedObject">
<MemberSignature Language="C#" Value="public object TemplatedObject { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Although this <see cref="P:System.Web.UI.Design.TemplateDefinition.TemplatedObject" /> property is read-only, its properties can be set, and if <see cref="P:System.Web.UI.Design.TemplateDefinition.AllowEditing" /> is true, the content can be edited.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Retrieves the component in which the template resides. This property is read-only.</para>
</summary>
</Docs>
</Member>
<Member MemberName="TemplatePropertyName">
<MemberSignature Language="C#" Value="public string TemplatePropertyName { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Retrieves the property name for the template that the design host should display in the property grid.</para>
</summary>
</Docs>
</Member>
</Members>
</Type>