1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283
|
<?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>
|