Back to Devexpress

DrawerBuilder.MaxSize(Double) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-drawerbuilder-dot-maxsize-x28-system-dot-double-x29.md

latest1.3 KB
Original Source

DrawerBuilder.MaxSize(Double) Method

Specifies the drawer's width or height (depending on the drawer's position) in the opened state. Mirrors the client-side maxSize option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public DrawerBuilder MaxSize(
    double value
)

Parameters

NameTypeDescription
valueDouble

The option value.

|

Returns

TypeDescription
DrawerBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().Drawer()
    .MaxSize(10)
)

See Also

DrawerBuilder Class

DrawerBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace