EnumButtonType
Enum
Defines the button behavior when clicked by setting the HTML type attribute.
Definition
Namespace:Telerik.Blazor
Assembly:Telerik.Blazor.dll
Syntax:
cs-api-definition
public enum ButtonType
Fields
Button
Creates a general-purpose button that performs no default form actions when clicked. Use this for buttons that execute custom logic through OnClick event handlers, such as "Cancel", "Show Details".
Reset
Creates a form reset button that clears all form fields back to their initial values when clicked. Use this for "Clear Form", "Reset", or "Start Over" buttons.
Submit
Creates a form submission button that validates and submits the parent form when clicked. Use this for "Save", "Submit", or "Send" buttons that should process form data and trigger validation rules.