Share via


AddAccessKeyAttribute Method

Write a custom attribute access key method, provided that the device supports the attribute.

protected virtual void AddAccesskeyAttribute(
   HtmlMobileTextWriter writer
)

Parameter

  • writer
    The text writer.

Remarks

The AddAccessKey method can be called by any HTML control adapter to add an attribute. Because it is virtual, it also can be customized by adapters that inherit this method.

To determine whether a device supports an access key attribute, use the SupportsAccessKeyAttribute property.

See Also

Applies to: HtmlControlAdapter Class