How to Change OK / Cancel buttons style of confirm dialog

Hi guys,
I use dialog service from Blazor to show confirmation message, and I need to change OK and Cancel
buttons default style and apply some custom Radzen buttons properties from here

I try to find some buttons properties in ConfirmOptions but I only found the button text

Any idea how to change style of it?
Thank you

Hi @rami_sosi,

You can't change button properties in the builtin Confirm dialog. If you need that you may consider using a custom dialog.

1 Like

I manage to do it by adding this to site.css (Blazor Server)

.rz-dialog-confirm-buttons > .rz-secondary {
	background-color: var(--rz-danger) !important;
}

Hi @korchev
Thanks for your cooperation
Is it possible to be available in next Radzen updates?

Hi @GodzSky
thank you, I think we can change it from Radzen dialog properties or it will be in next updates
I will try your suggest
thank you