402 lines
23 KiB
XML
402 lines
23 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
|||
|
<Type Name="HyperLink" FullName="System.Web.UI.WebControls.HyperLink">
|
|||
|
<TypeSignature Language="C#" Maintainer="auto" Value="public class HyperLink : System.Web.UI.WebControls.WebControl" />
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyName>System.Web</AssemblyName>
|
|||
|
<AssemblyPublicKey>
|
|||
|
</AssemblyPublicKey>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
|
|||
|
<Base>
|
|||
|
<BaseTypeName>System.Web.UI.WebControls.WebControl</BaseTypeName>
|
|||
|
</Base>
|
|||
|
<Interfaces>
|
|||
|
</Interfaces>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.Designer("System.Web.UI.Design.WebControls.HyperLinkDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IDesigner")</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultProperty("Text")</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.Web.UI.ToolboxData("<{0}:HyperLink runat="server">HyperLink</{0}:HyperLink>")</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.Web.UI.ParseChildren(false)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.Web.UI.DataBindingHandler("System.Web.UI.Design.HyperLinkDataBindingHandler, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.Web.UI.ControlBuilder(typeof(System.Web.UI.WebControls.HyperLinkControlBuilder))</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
<Docs>
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>In this topic:</para>
|
|||
|
<list type="bullet">
|
|||
|
<item>
|
|||
|
<para>
|
|||
|
<format type="text/html">
|
|||
|
<a href="#introduction">Introduction</a>
|
|||
|
</format>
|
|||
|
</para>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<para>
|
|||
|
<format type="text/html">
|
|||
|
<a href="#accessibility">Accessibility</a>
|
|||
|
</format>
|
|||
|
</para>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<para>
|
|||
|
<format type="text/html">
|
|||
|
<a href="#declarative_syntax">Declarative Syntax</a>
|
|||
|
</format>
|
|||
|
</para>
|
|||
|
</item>
|
|||
|
</list>
|
|||
|
<format type="text/html">
|
|||
|
<a href="#introduction" />
|
|||
|
</format>
|
|||
|
<format type="text/html">
|
|||
|
<h2>Introduction</h2>
|
|||
|
</format>
|
|||
|
<para>Use the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control to create a link to another Web page. The <see cref="T:System.Web.UI.WebControls.HyperLink" /> control is typically displayed as text specified by the <see cref="P:System.Web.UI.WebControls.HyperLink.Text" /> property. It can also be displayed as an image specified by the <see cref="P:System.Web.UI.WebControls.HyperLink.ImageUrl" /> property.</para>
|
|||
|
<para>If both the <see cref="P:System.Web.UI.WebControls.HyperLink.Text" /> and <see cref="P:System.Web.UI.WebControls.HyperLink.ImageUrl" /> properties are set, the <see cref="P:System.Web.UI.WebControls.HyperLink.ImageUrl" /> property takes precedence. If the image is unavailable, the text in the <see cref="P:System.Web.UI.WebControls.HyperLink.Text" /> property is displayed. In browsers that support ToolTip functionality, the <see cref="P:System.Web.UI.WebControls.HyperLink.Text" /> property also becomes the ToolTip.</para>
|
|||
|
<block subset="none" type="note">
|
|||
|
<para>This control can be used to display user input, which might include malicious client script. Check any information that is sent from a client for executable script, SQL statements, or other code before displaying it in your application. ASP.NET provides an input request validation feature to block script and HTML in user input. Validation server controls are also provided to assess user input. For more information, see <format type="text/html"><a href="96D2C59E-693C-4079-9B53-B3FF0D9E9133">[<topic://cpconASPNETSyntaxForValidationControls>]</a></format>.</para>
|
|||
|
</block>
|
|||
|
<format type="text/html">
|
|||
|
<a href="#accessibility" />
|
|||
|
</format>
|
|||
|
<format type="text/html">
|
|||
|
<h2>Accessibility</h2>
|
|||
|
</format>
|
|||
|
<para>For information about how to configure this control so that it generates markup that conforms to accessibility standards, see <format type="text/html"><a href="7e3ce9c4-6b7d-4fb1-94b5-72cf2a44fe13">Accessibility in Visual Studio 2010 and ASP.NET 4</a></format> and <format type="text/html"><a href="847a37e3-ce20-41da-b0d3-7dfb0fdae9a0">ASP.NET Controls and Accessibility</a></format>.</para>
|
|||
|
<format type="text/html">
|
|||
|
<a href="#declarative_syntax" />
|
|||
|
</format>
|
|||
|
<format type="text/html">
|
|||
|
<h2>Declarative Syntax</h2>
|
|||
|
</format>
|
|||
|
<code><asp:HyperLink
|
|||
|
    AccessKey="string"
|
|||
|
    BackColor="color name|#dddddd"
|
|||
|
    BorderColor="color name|#dddddd"
|
|||
|
    BorderStyle="<codeFeaturedElement>NotSet</codeFeaturedElement>|None|Dotted|Dashed|Solid|Double|Groove|Ridge|
|
|||
|
Inset|Outset"
|
|||
|
    BorderWidth="size"
|
|||
|
    CssClass="string"
|
|||
|
    Enabled="<codeFeaturedElement>True</codeFeaturedElement>|False"
|
|||
|
    EnableTheming="<codeFeaturedElement>True</codeFeaturedElement>|False"
|
|||
|
    EnableViewState="<codeFeaturedElement>True</codeFeaturedElement>|False"
|
|||
|
    Font-Bold="True|<codeFeaturedElement>False</codeFeaturedElement>"
|
|||
|
    Font-Italic="True|<codeFeaturedElement>False</codeFeaturedElement>"
|
|||
|
    Font-Names="string"
|
|||
|
    Font-Overline="True|<codeFeaturedElement>False</codeFeaturedElement>"
|
|||
|
    Font-Size="string|Smaller|Larger|XX-Small|X-Small|Small|Medium|
|
|||
|
Large|X-Large|XX-Large"
|
|||
|
    Font-Strikeout="True|<codeFeaturedElement>False</codeFeaturedElement>"
|
|||
|
    Font-Underline="True|<codeFeaturedElement>False</codeFeaturedElement>"
|
|||
|
    ForeColor="color name|#dddddd"
|
|||
|
    Height="size"
|
|||
|
    ID="string"
|
|||
|
    ImageUrl="uri"
|
|||
|
    NavigateUrl="uri"
|
|||
|
    OnDataBinding="DataBinding event handler"
|
|||
|
    OnDisposed="Disposed event handler"
|
|||
|
    OnInit="Init event handler"
|
|||
|
    OnLoad="Load event handler"
|
|||
|
    OnPreRender="PreRender event handler"
|
|||
|
    OnUnload="Unload event handler"
|
|||
|
    runat="server"
|
|||
|
    SkinID="string"
|
|||
|
    Style="string"
|
|||
|
    TabIndex="integer"
|
|||
|
    Target="string|_blank|_parent|_search|_self|<codeFeaturedElement>_top</codeFeaturedElement>"
|
|||
|
    Text="string"
|
|||
|
    ToolTip="string"
|
|||
|
    Visible="<codeFeaturedElement>True</codeFeaturedElement>|False"
|
|||
|
    Width="size"
|
|||
|
/></code>
|
|||
|
</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>A control that displays a link to another Web page.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<Members>
|
|||
|
<Member MemberName=".ctor">
|
|||
|
<MemberSignature Language="C#" Value="public HyperLink ();" />
|
|||
|
<MemberType>Constructor</MemberType>
|
|||
|
<ReturnValue />
|
|||
|
<Parameters />
|
|||
|
<Docs>
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Use this constructor to create and initialize a new instance of the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control.</para>
|
|||
|
</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.HyperLink" /> class.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="AddAttributesToRender">
|
|||
|
<MemberSignature Language="C#" Value="protected override void AddAttributesToRender (System.Web.UI.HtmlTextWriter w);" />
|
|||
|
<MemberType>Method</MemberType>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Void</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Parameters>
|
|||
|
<Parameter Name="w" Type="System.Web.UI.HtmlTextWriter" />
|
|||
|
</Parameters>
|
|||
|
<Docs>
|
|||
|
<param name="w">a <see cref="T:System.Web.UI.HtmlTextWriter" /></param>
|
|||
|
<remarks>To be added</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Adds the attributes of a <see cref="T:System.Web.UI.WebControls.HyperLink" /> control to the output stream for rendering.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="AddParsedSubObject">
|
|||
|
<MemberSignature Language="C#" Value="protected override void AddParsedSubObject (object obj);" />
|
|||
|
<MemberType>Method</MemberType>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Void</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Parameters>
|
|||
|
<Parameter Name="obj" Type="System.Object" />
|
|||
|
</Parameters>
|
|||
|
<Docs>
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>This method is used primarily by control developers, when deriving a custom control from the <see cref="T:System.Web.UI.WebControls.HyperLink" /> class.</para>
|
|||
|
<para>If the input object is a <see cref="T:System.Web.UI.LiteralControl" />, and the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control has no child controls, then the input object is used to set the <see cref="P:System.Web.UI.WebControls.HyperLink.Text" /> property of the control. Otherwise, the <see cref="M:System.Web.UI.Control.AddParsedSubObject(System.Object)" /> method of the base <see cref="T:System.Web.UI.Control" /> class is called and the specified object is added to the <see cref="P:System.Web.UI.Control.Controls" /> collection.</para>
|
|||
|
</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Notifies the control that an element was parsed, and adds the element to the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control. </para>
|
|||
|
</summary>
|
|||
|
<param name="obj">
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Object" /> that represents the parsed element.</param>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="ImageUrl">
|
|||
|
<MemberSignature Language="C#" Value="public virtual string ImageUrl { set; get; }" />
|
|||
|
<MemberType>Property</MemberType>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.String</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Parameters />
|
|||
|
<Docs>
|
|||
|
<value>Relative or full path location of the image currently displayed in the <see cref="P:System.Web.UI.WebControls.HyperLink" />.</value>
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>The <see cref="T:System.Web.UI.WebControls.HyperLink" /> control can be displayed as text or an image. Use the <see cref="P:System.Web.UI.WebControls.HyperLink.ImageUrl" /> property to specify an image to display for the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control.</para>
|
|||
|
<block subset="none" type="note">
|
|||
|
<para>If both the <see cref="P:System.Web.UI.WebControls.HyperLink.Text" /> and <see cref="P:System.Web.UI.WebControls.HyperLink.ImageUrl" /> properties are set, the <see cref="P:System.Web.UI.WebControls.HyperLink.ImageUrl" /> property takes precedence. If the image is unavailable, the text in the <see cref="P:System.Web.UI.WebControls.HyperLink.Text" /> property is displayed. In browsers that support ToolTip functionality, the <see cref="P:System.Web.UI.WebControls.HyperLink.Text" /> property also becomes the ToolTip.</para>
|
|||
|
</block>
|
|||
|
</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Gets or sets the path to an image to display for the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.Web.UI.UrlProperty</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.Editor("System.Web.UI.Design.ImageUrlEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.Bindable(true)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
</Member>
|
|||
|
<Member MemberName="LoadViewState">
|
|||
|
<MemberSignature Language="C#" Value="protected override void LoadViewState (object savedState);" />
|
|||
|
<MemberType>Method</MemberType>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Void</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Parameters>
|
|||
|
<Parameter Name="savedState" Type="System.Object" />
|
|||
|
</Parameters>
|
|||
|
<Docs>
|
|||
|
<summary>To be added</summary>
|
|||
|
<remarks>To be added</remarks>
|
|||
|
<param name="savedState">
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Object" /> that contains the previously saved state.</param>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="NavigateUrl">
|
|||
|
<MemberSignature Language="C#" Value="public string NavigateUrl { set; get; }" />
|
|||
|
<MemberType>Property</MemberType>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.String</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Parameters />
|
|||
|
<Docs>
|
|||
|
<value>Location of the link.</value>
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Use the <see cref="P:System.Web.UI.WebControls.HyperLink.NavigateUrl" /> property to specify the URL to navigate to when the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control is clicked. </para>
|
|||
|
</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Gets or sets the URL to link to when the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control is clicked.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.Web.UI.UrlProperty</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.Editor("System.Web.UI.Design.UrlEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.Bindable(true)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
</Member>
|
|||
|
<Member MemberName="RenderContents">
|
|||
|
<MemberSignature Language="C#" Value="protected override void RenderContents (System.Web.UI.HtmlTextWriter w);" />
|
|||
|
<MemberType>Method</MemberType>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.Void</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Parameters>
|
|||
|
<Parameter Name="w" Type="System.Web.UI.HtmlTextWriter" />
|
|||
|
</Parameters>
|
|||
|
<Docs>
|
|||
|
<param name="w">a <see cref="T:System.Web.UI.HtmlTextWriter" /></param>
|
|||
|
<remarks>To be added</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Displays the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control on a page.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
</Member>
|
|||
|
<Member MemberName="Target">
|
|||
|
<MemberSignature Language="C#" Value="public string Target { set; get; }" />
|
|||
|
<MemberType>Property</MemberType>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.String</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Parameters />
|
|||
|
<Docs>
|
|||
|
<value>Frame's name for displaying the link.</value>
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Use the <see cref="P:System.Web.UI.WebControls.HyperLink.Target" /> property to specify the frame or window that displays the Web page linked to when the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control is clicked. The Web page is specified by setting the <see cref="P:System.Web.UI.WebControls.HyperLink.NavigateUrl" /> property.</para>
|
|||
|
<para>If this property is not set, the browser or window with focus refreshes when the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control is clicked.</para>
|
|||
|
<block subset="none" type="note">
|
|||
|
<para> The <see cref="P:System.Web.UI.WebControls.HyperLink.Target" /> property renders as a target attribute. The target attribute on anchor elements is not allowed in the XHTML 1.1 document type definition. Do not set the <see cref="P:System.Web.UI.WebControls.HyperLink.Target" /> property if the rendered output for the <see cref="T:System.Web.UI.WebControls.HyperLink" /> must be XHTML 1.1 compliant. For more information, refer to the topic <format type="text/html"><a href="1b78d416-66bb-43a5-ac77-c703aab55b97">ASP.NET and XHTML Compliance</a></format>. </para>
|
|||
|
<para>When creating accessible Web pages, it is strongly recommended you avoid using the <see cref="P:System.Web.UI.WebControls.HyperLink.Target" /> property to target another window. For more information, see <format type="text/html"><a href="7e3ce9c4-6b7d-4fb1-94b5-72cf2a44fe13">Accessibility in Visual Studio 2010 and ASP.NET 4</a></format> and <format type="text/html"><a href="847a37e3-ce20-41da-b0d3-7dfb0fdae9a0">ASP.NET Controls and Accessibility</a></format>.</para>
|
|||
|
</block>
|
|||
|
</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Gets or sets the target window or frame in which to display the Web page content linked to when the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control is clicked.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.TypeConverter(typeof(System.Web.UI.WebControls.TargetConverter))</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
</Member>
|
|||
|
<Member MemberName="Text">
|
|||
|
<MemberSignature Language="C#" Value="public virtual string Text { set; get; }" />
|
|||
|
<MemberType>Property</MemberType>
|
|||
|
<ReturnValue>
|
|||
|
<ReturnType>System.String</ReturnType>
|
|||
|
</ReturnValue>
|
|||
|
<Parameters />
|
|||
|
<Docs>
|
|||
|
<value>Text of the anchor.</value>
|
|||
|
<remarks>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>The <see cref="T:System.Web.UI.WebControls.HyperLink" /> control can be displayed as text or an image. Use the <see cref="P:System.Web.UI.WebControls.HyperLink.Text" /> property to specify the text to display for the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control.</para>
|
|||
|
<para>If both the <see cref="P:System.Web.UI.WebControls.HyperLink.Text" /> and <see cref="P:System.Web.UI.WebControls.HyperLink.ImageUrl" /> properties are set, the <see cref="P:System.Web.UI.WebControls.HyperLink.ImageUrl" /> property takes precedence. If the image is unavailable, the text in the <see cref="P:System.Web.UI.WebControls.HyperLink.Text" /> property is displayed. In browsers that support ToolTip functionality, the <see cref="P:System.Web.UI.WebControls.HyperLink.Text" /> property also becomes the ToolTip.</para>
|
|||
|
<block subset="none" type="note">
|
|||
|
<para>This control can be used to display user input, which might include malicious client script. Check any information that is sent from a client for executable script, SQL statements, or other code before displaying it in your application. ASP.NET provides an input request validation feature to block script and HTML in user input. Validation server controls are also provided to assess user input. For more information, see <format type="text/html"><a href="96D2C59E-693C-4079-9B53-B3FF0D9E9133">[<topic://cpconASPNETSyntaxForValidationControls>]</a></format>.</para>
|
|||
|
</block>
|
|||
|
<para>The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see <see cref="T:System.ComponentModel.LocalizableAttribute" /> and <format type="text/html"><a href="8ef3838e-9d05-4236-9dd0-ceecff9df80d">ASP.NET Globalization and Localization</a></format>.</para>
|
|||
|
</remarks>
|
|||
|
<summary>
|
|||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|||
|
<para>Gets or sets the text caption for the <see cref="T:System.Web.UI.WebControls.HyperLink" /> control.</para>
|
|||
|
</summary>
|
|||
|
</Docs>
|
|||
|
<AssemblyInfo>
|
|||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|||
|
</AssemblyInfo>
|
|||
|
<Attributes>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.Localizable(true)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerDefaultProperty)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
|
|||
|
</Attribute>
|
|||
|
<Attribute>
|
|||
|
<AttributeName>System.ComponentModel.Bindable(true)</AttributeName>
|
|||
|
</Attribute>
|
|||
|
</Attributes>
|
|||
|
</Member>
|
|||
|
</Members>
|
|||
|
</Type>
|