Office .NET Class Library
Show/Hide TOC

# ButtonFocusOnClick Property

Specifies if a button is given the focus in a form when the form button control for that element is clicked with a mouse.

## Definition

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

    public bool FocusOnClick { get; set; }

VB

    Public Property FocusOnClick As Boolean
    	Get
    	Set

#### Property Value

Boolean

## See Also

#### Reference

Button Class
Independentsoft.Office.Odf.Forms Namespace