This documentation is archived and is not being maintained.

TreeView.SkipLinkText Property

Gets or sets a value that is used to render alternate text for screen readers to skip the content for the control.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public string SkipLinkText { get; set; }
/** @property */
public String get_SkipLinkText ()

/** @property */
public void set_SkipLinkText (String value)

public function get SkipLinkText () : String

public function set SkipLinkText (value : String)

Not applicable.

Property Value

A string that the TreeView renders as alternate text with an invisible image, as a hint to screen readers. The default is the Empty value.

The SkipLinkText property is a property that you can set to make a Web page more or less accessible. Web pages that contain content that repeats can provide for a mechanism for users of screen readers to skip the content from being read aloud.

The TreeView control provides the SkipLinkText property as a way for the entire control to be skipped by screen readers. If the SkipLinkText property is set, an invisible image with alternate text is rendered, giving the user the option to jump to the end of the control. Screen readers read the alternate text aloud, while the image occupies only one pixel space. For pixel-precise control over the rendering of the page, set the SkipLinkText property to an empty string ("") and provide your own mechanism to skip the tree.

The SkipLinkText property is set to the empty string by default, which makes screen readers not skip the control.

The value of this property is stored in view state.

The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and ASP.NET Globalization and Localization.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0