blazor-devexpress-dot-blazor-dot-dxtoastprovider-db42edd9.md
Specifies a toast’s predefined style.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(ToastRenderStyle.Primary)]
[Parameter]
public ToastRenderStyle RenderStyle { get; set; }
| Type | Default | Description |
|---|---|---|
| ToastRenderStyle | Primary |
The render style.
|
Available values:
| Name | Description |
|---|---|
| Primary |
Applies the primary style to a toast.
| | Info |
Applies the info style to a toast.
| | Success |
Applies the success style to a toast.
| | Warning |
Applies the warning style to a toast.
| | Danger |
Applies the danger style to a toast.
|
Use RenderStyle and ThemeMode properties to specify the toast style.
<DxToastProvider
AnimationType="ToastAnimationType.Fade"
HorizontalAlignment="HorizontalAlignment.Left"
VerticalAlignment="VerticalEdge.Top"
RenderStyle="ToastRenderStyle.Success"
ThemeMode="ToastThemeMode.Saturated"/>
See Also