blazor-devexpress-dot-blazor-dot-dxbutton-72d80584.md
Specifies the button’s color filling type.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(ButtonRenderStyleMode.Contained)]
[Parameter]
public ButtonRenderStyleMode RenderStyleMode { get; set; }
| Type | Default | Description |
|---|---|---|
| ButtonRenderStyleMode | Contained |
A ButtonRenderStyleMode enumeration value.
|
Available values:
| Name | Description |
|---|---|
| Contained |
The button is filled with the style color.
| | Outline |
The button’s text and borders are colored.
| | Text |
The button’s text is colored.
|
Use the following properties to control <DxButton>‘s style:
RenderStyleMode — Specifies the button’s color filling type.<DxButton RenderStyle="ButtonRenderStyle.Primary" RenderStyleMode="ButtonRenderStyleMode.Contained" Text="Primary" />
See Also