Back to Devexpress

SchedulerPopupButtonBase.RenderStyle Property

blazor-devexpress-dot-blazor-dot-base-dot-schedulerpopupbuttonbase.md

latest1.9 KB
Original Source

SchedulerPopupButtonBase.RenderStyle Property

Specifies the button’s predefined style.

Namespace : DevExpress.Blazor.Base

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[Parameter]
public virtual ButtonRenderStyle RenderStyle { get; set; }

Property Value

TypeDescription
ButtonRenderStyle

A ButtonRenderStyle enumeration value.

|

Available values:

NameDescription
None

Resets the button’s style.

| | Primary |

Applies the primary style to the button.

| | Secondary |

Applies the secondary style to the button.

| | Info |

Applies the info style to the button.

| | Link |

Applies the link style to the button.

| | Success |

Applies the success style to the button.

| | Warning |

Applies the warning style to the button.

| | Danger |

Applies the danger style to the button.

| | Dark |

Applies the dark style to the button.

| | Light |

Applies the light style to the button.

|

Remarks

The following code snippet applies the Primary render style to the Close Appointment button.

razor
<AppointmentTooltipHeaderTemplate>
    @*...*@
    <DxSchedulerCloseAppointmentButton RenderStyle="ButtonRenderStyle.Primary"></DxSchedulerCloseAppointmentButton>
</AppointmentTooltipHeaderTemplate>

See Also

SchedulerPopupButtonBase Class

SchedulerPopupButtonBase Members

DevExpress.Blazor.Base Namespace