a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
72 lines
5.1 KiB
XML
72 lines
5.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="HyperLinkDesigner" FullName="System.Web.UI.Design.WebControls.HyperLinkDesigner">
|
|
<TypeSignature Language="C#" Value="public class HyperLinkDesigner : System.Web.UI.Design.TextControlDesigner" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>System.Design</AssemblyName>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<Base>
|
|
<BaseTypeName>System.Web.UI.Design.TextControlDesigner</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="T:System.Web.UI.WebControls.HyperLink" /> control creates a link for the client browser to navigate to another Web page.</para>
|
|
<para>In a visual designer, when you switch from Source to Design view, the markup source code that describes a <see cref="T:System.Web.UI.WebControls.HyperLink" /> control 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 the markup source code and edited into the markup for the Web page. The <see cref="T:System.Web.UI.Design.WebControls.HyperLinkDesigner" /> class provides design-time support for the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control.</para>
|
|
<para>The <see cref="M:System.Web.UI.Design.WebControls.HyperLinkDesigner.GetDesignTimeHtml" /> method returns the markup that is used to render the associated <see cref="T:System.Web.UI.WebControls.HyperLink" /> control at design time. The <see cref="M:System.Web.UI.Design.WebControls.HyperLinkDesigner.OnComponentChanged(System.Object,System.ComponentModel.Design.ComponentChangedEventArgs)" /> method is called when there is a change to the associated control.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Provides design-time support in a visual designer for the <see cref="T:System.Web.UI.WebControls.HyperLink" /> Web server control.</para>
|
|
</summary>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public HyperLinkDesigner ();" />
|
|
<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.HyperLinkDesigner" /> class when it creates the associated <see cref="T:System.Web.UI.WebControls.HyperLink" /> control or a copy of the <see cref="T:System.Web.UI.WebControls.HyperLink" /> 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.HyperLinkDesigner" /> 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>The <see cref="M:System.Web.UI.Design.WebControls.HyperLinkDesigner.GetDesignTimeHtml" /> method generates the design-time markup for the associated <see cref="T:System.Web.UI.WebControls.HyperLink" /> control. The method first saves local copies of the <see cref="P:System.Web.UI.WebControls.HyperLink.Text" />, <see cref="P:System.Web.UI.WebControls.HyperLink.NavigateUrl" />, and <see cref="P:System.Web.UI.WebControls.HyperLink.ImageUrl" /> properties, as well as the <see cref="P:System.Web.UI.Control.Controls" /> child collection. It provides default values for these properties if the original values are null or blank. The <see cref="M:System.Web.UI.Design.WebControls.HyperLinkDesigner.GetDesignTimeHtml" /> method then calls the <see cref="M:System.Web.UI.Design.TextControlDesigner.GetDesignTimeHtml" /> base method to generate the markup and restores the properties and child control collection 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 associated hyperlink control at design time.</para>
|
|
</returns>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
</Members>
|
|
</Type> |