Skip to main content

ContextMenuBuilder.ElementAttr Method

Name Parameters Description
ElementAttr(JS) value Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Dictionary<String, Object>) value Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Object) htmlAttributes Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(String, Object) attributeName, value Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.