Back to Devexpress

PopupBuilder.MaxWidth(String) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-popupbuilder-dot-maxwidth-x28-system-dot-string-x29.md

latest1.3 KB
Original Source

PopupBuilder.MaxWidth(String) Method

Specifies the maximum width the UI component can reach while resizing. Mirrors the client-side maxWidth option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public PopupBuilder MaxWidth(
    string value
)

Parameters

NameTypeDescription
valueString

The option value.

|

Returns

TypeDescription
PopupBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().Popup()
    .MaxWidth("50%")
)

See Also

PopupBuilder Class

PopupBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace