Back to Devexpress

FormBuilder<T>.MinColWidth(Double) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-formbuilder-1-dot-mincolwidth-x28-system-dot-double-x29.md

latest1.3 KB
Original Source

FormBuilder<T>.MinColWidth(Double) Method

The minimum column width used for calculating column count in the form layout. Applies only if colCount property is 'auto'. Mirrors the client-side minColWidth option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public FormBuilder<T> MinColWidth(
    double value
)

Parameters

NameTypeDescription
valueDouble

The option value.

|

Returns

TypeDescription
FormBuilder<T>

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().Form()
    .MinColWidth(100)
)

See Also

FormBuilder<T> Class

FormBuilder<T> Members

DevExtreme.AspNet.Mvc.Builders Namespace