Back to Devexpress

FunnelBuilder.PaletteExtensionMode(VizPaletteExtensionMode) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-funnelbuilder-dot-paletteextensionmode-x28-devextreme-dot-aspnet-dot-mvc-dot-vizpaletteextensionmode-x29.md

latest1.4 KB
Original Source

FunnelBuilder.PaletteExtensionMode(VizPaletteExtensionMode) Method

Specifies what to do with colors in the palette when their number is less than the number of funnel items. Mirrors the client-side paletteExtensionMode option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public FunnelBuilder PaletteExtensionMode(
    VizPaletteExtensionMode value
)

Parameters

NameTypeDescription
valueVizPaletteExtensionMode

The option value.

|

Returns

TypeDescription
FunnelBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().Funnel()
    .PaletteExtensionMode(VizPaletteExtensionMode.Alternate)
)

See Also

FunnelBuilder Class

FunnelBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace