AccessKey Property

Sets or retrieves the keyboard shortcut key (AccessKey) for setting focus to the item.

Syntax

Visual Basic Overrides  Public  Property AccessKey As string
C# public   override  string AccessKey { get; set; }
Managed C++ public:  __property string get_AccessKey();
public:  __property void set_AccessKey(string);
JScript public   override  function get AccessKey() : string;
public   override  function set AccessKey(string);

Possible Values

The property is read/write. The property has no default value.

Property Information

Applies To

TOOLBARDROPDOWNLIST, TOOLBARTEXTBOX

See Also

Internet Explorer WebControls, About the Toolbar WebControl