DxButton.RenderStyleMode Property

Specifies the button’s color filling type.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
[DefaultValue(ButtonRenderStyleMode.Contained)]
public ButtonRenderStyleMode RenderStyleMode { get; set; }

Property Value

Type Default Description
ButtonRenderStyleMode

Contained

One of the ButtonRenderStyleMode values.

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.

Remarks

Use the following properties to control <DxButton>‘s style:

  • RenderStyle — Specifies the button’s predefined style.
  • RenderStyleMode — Specifies the button’s color filling type.
<DxButton RenderStyle="ButtonRenderStyle.Primary" RenderStyleMode="ButtonRenderStyleMode.Contained" Text="Primary" />

Button

Run Demo: Button — Styles

See Also