[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Forms.IButton.DefaultButton

DefaultButton Property

DefaultButton

Gets or sets whether the button is the default button.

Not supported by the *.ssjson format.

Declaration
bool DefaultButton { get; set; }
Property DefaultButton As Boolean
Examples
IButton button = worksheet.Controls.AddButton(50, 20, 120, 24);
button.Text = "Submit";
button.DefaultButton = true;
bool isDefaultButton = button.DefaultButton;