Back to Devexpress

LinearGaugeBuilder.Theme(VizTheme) Method

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

latest1.3 KB
Original Source

LinearGaugeBuilder.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 LinearGaugeBuilder Theme(
    VizTheme value
)

Parameters

NameTypeDescription
valueVizTheme

The option value.

|

Returns

TypeDescription
LinearGaugeBuilder

A reference to this instance after the method is called.

|

Remarks

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

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

See Also

LinearGaugeBuilder Class

LinearGaugeBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace