Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

BaseDataList.UseAccessibleHeader Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets a value indicating whether the data listing control renders its header in an accessible format. This property is provided to make the control more accessible to users of assistive technology devices.

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

public virtual bool UseAccessibleHeader { get; set; }
/** @property */
public boolean get_UseAccessibleHeader ()

/** @property */
public void set_UseAccessibleHeader (boolean value)

public function get UseAccessibleHeader () : boolean

public function set UseAccessibleHeader (value : boolean)

Property Value

true if the control renders its header in an accessible format; otherwise, false. The default is false.

Use the UseAccessibleHeader property to specify whether the data listing control renders its header in an accessible format. This property is provided to make the control more accessible to users of assistive technology devices. By default, the value of this property is false and the header for the control is rendered between cell tags <td> and </td>. If the value of this property is true, the header for the control is rendered between table header cell tags <th> and </th>. In addition, a scope="col" attribute is added to the table header to specify that the header applies to all the cells in the column. The default rendering of the <th> element is preserved, rendering text as bold and centered horizontally. Developers can override the behavior of the <th> element using a cascading style sheet (CSS). However, requiring the use of style sheets is discouraged when creating accessible Web pages.

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.