Back to Devexpress

BulletBuilder.Theme(VizTheme) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-bulletbuilder-dot-theme-x28-devextreme-dot-aspnet-dot-mvc-dot-viztheme-x29.md

latest1.2 KB
Original Source

BulletBuilder.Theme(VizTheme) Method

Sets the name of the theme the UI component uses. Mirrors the client-side theme option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public BulletBuilder Theme(
    VizTheme value
)

Parameters

NameTypeDescription
valueVizTheme

The option value.

|

Returns

TypeDescription
BulletBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().Bullet()
    .Theme(VizTheme.GenericCarmine)
)

See Also

BulletBuilder Class

BulletBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace