Expose configuration options for setting the options - Size, ThemeColor, FillMode and Rounded - of the Grid's command buttons and toolbar buttons, as possible for a simple Button component.
Adding a separate configuration for the Cancel command button would also be beneficial. For example:
.Columns(columns => {
columns.Bound(p => p.ProductName);
columns.Bound(p => p.UnitPrice).Width(140);
columns.Bound(p => p.UnitsInStock).Width(140);
columns.Bound(p => p.Discontinued).Width(100);
columns.Command(command => command.Destroy().ThemeColor(ThemeColor.Error)).Width(150);
})
.ToolBar(toolbar => {
toolbar.Create().ThemeColor(ThemeColor.Info).Size(ComponentSize.Large);
toolbar.Save().ThemeColor(ThemeColor.Success);
toolbar.Cancel().ThemeColor(ThemeColor.Warning);
})