Back to Devexpress

DxDropDownButton.RenderStyleMode Property

blazor-devexpress-dot-blazor-dot-dxdropdownbutton-25faeb3f.md

latest2.0 KB
Original Source

DxDropDownButton.RenderStyleMode Property

Specifies the drop-down button’s color filling type.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
ButtonRenderStyleModeContained

A ButtonRenderStyleMode enumeration value.

|

Available values:

NameDescription
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

The <DxDropDownButton> component allows you to customize the appearance of the root drop-down button. You can use the following properties:

RenderStyleSpecifies the drop-down button’s predefined style.RenderStyleModeSpecifies the drop-down button’s color filling type.

Note

These properties do not apply to the button’s nested items.

razor
<DxDropDownButton RenderStyle="ButtonRenderStyle.Success"
                  RenderStyleMode="ButtonRenderStyleMode.Outline"
                  Text="Success"
                  Tooltip="Outline mode" />

See Also

DxDropDownButton Class

DxDropDownButton Members

DevExpress.Blazor Namespace