Skip to main content

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

public DrawerBuilder MaxSize(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
DrawerBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().Drawer()
    .MaxSize(10)
)
See Also