DeclarativeCatalogPart.AccessKey Property

This inherited property is not used by the Web Parts control set when rendering a DeclarativeCatalogPart control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.

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

[ThemeableAttribute(false)] 
public:
virtual property String^ AccessKey {
	String^ get () override;
	void set (String^ value) override;
}
/** @property */
public String get_AccessKey ()

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

public override function get AccessKey () : String

public override function set AccessKey (value : String)

Not applicable.

Property Value

A string that represents a keyboard key used for quick keyboard navigation to a control.

The AccessKey property, as a member of the DeclarativeCatalogPart control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.

To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a DeclarativeCatalogPart control in Visual Studio, the AccessKey property is not visible in the Properties pane or IntelliSense.

If you want to use this property, you need to create a custom class that inherits from the CatalogPart class. The custom class can either use the inherited AccessKey property as it is, or override it and change its behavior.

This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and Introduction to ASP.NET Themes.

TopicLocation
How to: Check Accessibility of Web Pages in Visual Web DeveloperBuilding ASP .NET Web Applications in Visual Studio

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, 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

Community Additions

ADD
Show: