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

71 lines
5.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="BaseValidatorDesigner" FullName="System.Web.UI.Design.WebControls.BaseValidatorDesigner">
<TypeSignature Language="C#" Value="public class BaseValidatorDesigner : System.Web.UI.Design.ControlDesigner" />
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.UI.Design.ControlDesigner</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>In a visual designer, when you switch from Source to Design view, the markup source code that describes a control that is derived from the <see cref="T:System.Web.UI.WebControls.BaseValidator" /> abstract class is parsed and a design-time version of the control is created on the design surface. When you switch back to Source view, the design-time control is persisted to markup source code and edited into the markup for the Web page. The <see cref="T:System.Web.UI.Design.WebControls.BaseValidatorDesigner" /> objects provide design-time support for controls that are derived from the <see cref="T:System.Web.UI.WebControls.BaseValidator" /> class in a visual designer.</para>
<para>The <see cref="M:System.Web.UI.Design.WebControls.BaseValidatorDesigner.GetDesignTimeHtml" /> method gets the markup that is used to render the associated control at design time.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides design-time support in a visual designer for Web server controls that are derived from the <see cref="T:System.Web.UI.WebControls.BaseValidator" /> class. </para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public BaseValidatorDesigner ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The .NET Framework internally constructs a new instance of the <see cref="T:System.Web.UI.Design.WebControls.BaseValidatorDesigner" /> class when it creates the associated control that is derived from the <see cref="T:System.Web.UI.WebControls.BaseValidator" /> class or a copy of that control on the design surface.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.Design.WebControls.BaseValidatorDesigner" /> class. </para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GetDesignTimeHtml">
<MemberSignature Language="C#" Value="public override string GetDesignTimeHtml ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>If the <see cref="P:System.Web.UI.WebControls.BaseValidator.ErrorMessage" /> or <see cref="P:System.Web.UI.WebControls.BaseValidator.Text" /> property of the associated control that is derived from the <see cref="T:System.Web.UI.WebControls.BaseValidator" /> class is an empty string (""), or if the <see cref="P:System.Web.UI.WebControls.BaseValidator.Display" /> property is set to the <see cref="F:System.Web.UI.WebControls.ValidatorDisplay.None" /> field, the <see cref="M:System.Web.UI.Design.WebControls.BaseValidatorDesigner.GetDesignTimeHtml" /> method sets the <see cref="P:System.Web.UI.WebControls.BaseValidator.ErrorMessage" /> property to the control ID, which is enclosed in brackets ([]) and sets the <see cref="P:System.Web.UI.WebControls.BaseValidator.Display" /> property to the <see cref="F:System.Web.UI.WebControls.ValidatorDisplay.Static" /> field. The <see cref="M:System.Web.UI.Design.WebControls.BaseValidatorDesigner.GetDesignTimeHtml" /> then calls the <see cref="M:System.Web.UI.Design.ControlDesigner.GetDesignTimeHtml" /> base method to generate the markup, and restores the control properties to their original values, if necessary.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the markup that is used to render the associated control at design time. </para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A string containing the markup used to render the <see cref="T:System.Web.UI.WebControls.BaseValidator" /> at design time.</para>
</returns>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>