ODF .NET Class Library
Show/Hide TOC

# ButtonType Enumeration

Represents the type of a button.

## Definition

Namespace: Independentsoft.Office.Odf.Forms
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public enum ButtonType

VB

    Public Enumeration ButtonType

## Members

Submit | 0 | Pressing the button submits the form.
Reset | 1 | Pressing the button resets every control in the form to its default value.
Push | 2 | Pressing the button does not perform any action by default. A user can add scripts to a button and the script will run when the button is pressed.
Url | 3 | Pressing the button loads the URL that is specified in the xlink:href attribute.
None | 4 | Pressing the button loads the URL that is specified in the xlink:href attribute.

## See Also

#### Reference

Independentsoft.Office.Odf.Forms Namespace