get_form_role


Description:

[ Version ( since = "0.26" ) ]
public StructureFormRole get_form_role ()

Obtains the role of a form structure element that is part of a form, or is a form field.

This hints how the control for the element is intended to be rendered.

Parameters:

this

A StructureElement

Returns:

A StructureFormRole value.