DxToastProvider.RenderStyle Property
Specifies a toast’s predefined style.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v25.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(ToastRenderStyle.Primary)]
[Parameter]
public ToastRenderStyle RenderStyle { get; set; }
Property Value
| 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. |
Remarks
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