ODF .NET Class Library
Show/Hide TOC

# ButtonType Property

Specifies the type of a button. The defined values are: -push: 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. -reset: pressing the button resets every control in the form to its default value. -submit: pressing the button submits the form. -url: pressing the button loads the URL that is specified in the xlink:href attribute.

## Definition

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

    public ButtonType Type { get; set; }

VB

    Public Property Type As ButtonType
    	Get
    	Set

#### Property Value

ButtonType

## See Also

#### Reference

Button Class
Independentsoft.Office.Odf.Forms Namespace